add instruction decode modes and opcode byte highlighting
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 26 Nov 2020 04:46:55 +0000 (20:46 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 26 Nov 2020 04:46:55 +0000 (20:46 -0800)
openpower/sv/16_bit_compressed/demo.mdwn
openpower/sv/16_bit_compressed/demo_assembler.sh

index 64d8dc580f797f2d48217751ac461b833d2dba92..d51cfd81a69c3ed6dced32a336837bc050bfe042 100644 (file)
@@ -103,218 +103,218 @@ Note that bit numbering goes from 0 to 31 in the prefix, then 0 to 31 in the suf
 
 ## Big-Endian Machine Code
 
-| Address | Byte                              | PC                                  | Instruction                                            |
-|---------|-----------------------------------|-------------------------------------|--------------------------------------------------------|
-| 0x1000  | <div class="color-800">0x38</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1001  | <div class="color-800">0x64</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1002  | <div class="color-800">0x00</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1003  | <div class="color-800">0x05</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1004  | <div class="color-880">0x06</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1005  | <div class="color-880">0x00</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1006  | <div class="color-880">0xDE</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1007  | <div class="color-880">0xAD</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1008  | <div class="color-880">0x38</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1009  | <div class="color-880">0x65</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100A  | <div class="color-880">0xBE</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100B  | <div class="color-880">0xEF</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100C  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100D  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100E  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100F  | <div class="color-080">0x02</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1010  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1011  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1012  | <div class="color-088">0x38</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1013  | <div class="color-088">0x64</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1014  | <div class="color-088">0x00</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1015  | <div class="color-088">0x05</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1016  | <div class="color-008">0x06</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1017  | <div class="color-008">0x00</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1018  | <div class="color-008">0x89</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1019  | <div class="color-008">0xAB</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101A  | <div class="color-008">0x38</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101B  | <div class="color-008">0x65</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101C  | <div class="color-008">0xCD</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101D  | <div class="color-008">0xEF</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101E  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x101F  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1020  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1021  | <div class="color-808">0x02</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1022  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1023  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1024  | <div class="color-800">0x14</div> | <div class="color-800">0x1024</div> | <div class="color-800">h.add r3, r4</div>              |
-| 0x1025  | <div class="color-800">0x02</div> | <div class="color-800">0x1024</div> | <div class="color-800">h.add r3, r4</div>              |
-| 0x1026  | <div class="color-880">0x38</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x1027  | <div class="color-880">0x66</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x1028  | <div class="color-880">0x00</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x1029  | <div class="color-880">0x07</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x102A  | <div class="color-080">0x14</div> | <div class="color-080">0x102A</div> | <div class="color-080">hs.add r3, r31</div>            |
-| 0x102B  | <div class="color-080">0x0F</div> | <div class="color-080">0x102A</div> | <div class="color-080">hs.add r3, r31</div>            |
-| 0x102C  | <div class="color-088">0x04</div> | <div class="color-088">0x102C</div> | <div class="color-088">c.add r3, r30</div>             |
-| 0x102D  | <div class="color-088">0x0C</div> | <div class="color-088">0x102C</div> | <div class="color-088">c.add r3, r30</div>             |
-| 0x102E  | <div class="color-008">0x84</div> | <div class="color-008">0x102E</div> | <div class="color-008">cst.add r3, r29</div>           |
-| 0x102F  | <div class="color-008">0x0B</div> | <div class="color-008">0x102E</div> | <div class="color-008">cst.add r3, r29</div>           |
-| 0x1030  | <div class="color-808">0x06</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1031  | <div class="color-808">0x00</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1032  | <div class="color-808">0x12</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1033  | <div class="color-808">0x34</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1034  | <div class="color-808">0x38</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1035  | <div class="color-808">0x7F</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1036  | <div class="color-808">0x56</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1037  | <div class="color-808">0x78</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1038  | <div class="color-800">0x04</div> | <div class="color-800">0x1038</div> | <div class="color-800">c.add r3, r5</div>              |
-| 0x1039  | <div class="color-800">0x04</div> | <div class="color-800">0x1038</div> | <div class="color-800">c.add r3, r5</div>              |
-| 0x103A  | <div class="color-880">0x04</div> | <div class="color-880">0x103A</div> | <div class="color-880">c.add r3, r3</div>              |
-| 0x103B  | <div class="color-880">0x00</div> | <div class="color-880">0x103A</div> | <div class="color-880">c.add r3, r3</div>              |
-| 0x103C  | <div class="color-080">0x04</div> | <div class="color-080">0x103C</div> | <div class="color-080">cs.add r3, r6</div>             |
-| 0x103D  | <div class="color-080">0x07</div> | <div class="color-080">0x103C</div> | <div class="color-080">cs.add r3, r6</div>             |
-| 0x103E  | <div class="color-088">0x38</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x103F  | <div class="color-088">0x63</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x1040  | <div class="color-088">0x00</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x1041  | <div class="color-088">0x23</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x1042  | <div class="color-008">0x38</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1043  | <div class="color-008">0x6A</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1044  | <div class="color-008">0x00</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1045  | <div class="color-008">0x0A</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1046  | <div class="color-808">0x14</div> | <div class="color-808">0x1046</div> | <div class="color-808">hs.add r3, r5</div>             |
-| 0x1047  | <div class="color-808">0x05</div> | <div class="color-808">0x1046</div> | <div class="color-808">hs.add r3, r5</div>             |
-| 0x1048  | <div class="color-800">0x84</div> | <div class="color-800">0x1048</div> | <div class="color-800">cst.add r3, r4</div>            |
-| 0x1049  | <div class="color-800">0x03</div> | <div class="color-800">0x1048</div> | <div class="color-800">cst.add r3, r4</div>            |
-| 0x104A  | <div class="color-880">0x14</div> | <div class="color-880">0x104A</div> | <div class="color-880">hs.add r3, r6</div>             |
-| 0x104B  | <div class="color-880">0x07</div> | <div class="color-880">0x104A</div> | <div class="color-880">hs.add r3, r6</div>             |
-| 0x104C  | <div class="color-080">0x84</div> | <div class="color-080">0x104C</div> | <div class="color-080">cst.add r3, r28</div>           |
-| 0x104D  | <div class="color-080">0x09</div> | <div class="color-080">0x104C</div> | <div class="color-080">cst.add r3, r28</div>           |
-| 0x104E  | <div class="color-088">0x14</div> | <div class="color-088">0x104E</div> | <div class="color-088">h.add r3, r29</div>             |
-| 0x104F  | <div class="color-088">0x0A</div> | <div class="color-088">0x104E</div> | <div class="color-088">h.add r3, r29</div>             |
-| 0x1050  | <div class="color-008">0x84</div> | <div class="color-008">0x1050</div> | <div class="color-008">cst.add r3, r30</div>           |
-| 0x1051  | <div class="color-008">0x0D</div> | <div class="color-008">0x1050</div> | <div class="color-008">cst.add r3, r30</div>           |
-| 0x1052  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1053  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1054  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1055  | <div class="color-808">0x02</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1056  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1057  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1058  | <div class="color-800">0x84</div> | <div class="color-800">0x1058</div> | <div class="color-800">cst.add r3, r31</div>           |
-| 0x1059  | <div class="color-800">0x0F</div> | <div class="color-800">0x1058</div> | <div class="color-800">cst.add r3, r31</div>           |
-| 0x105A  | <div class="color-880">0x38</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105B  | <div class="color-880">0x6F</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105C  | <div class="color-880">0x00</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105D  | <div class="color-880">0x0F</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105E  | <div class="color-080">0x04</div> | <div class="color-080">0x105E</div> | <div class="color-080">cs.add r3, r4</div>             |
-| 0x105F  | <div class="color-080">0x03</div> | <div class="color-080">0x105E</div> | <div class="color-080">cs.add r3, r4</div>             |
-| 0x1060  | <div class="color-088">0x38</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1061  | <div class="color-088">0x6A</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1062  | <div class="color-088">0x00</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1063  | <div class="color-088">0x0F</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1064  | <div class="color-008">0x38</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1065  | <div class="color-008">0x6B</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1066  | <div class="color-008">0x00</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1067  | <div class="color-008">0x0F</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
+| Address | Byte                              | PC                                    | Mode                                         | Instruction                                            |
+|---------|-----------------------------------|---------------------------------------|----------------------------------------------|--------------------------------------------------------|
+| 0x1000  | <div class="color-800">0x38</div> | <div class="color-800">0x1000+0</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1001  | <div class="color-F00">0x64</div> | <div class="color-F00">0x1000+1</div> | <div class="color-F00">Standard</div>        | <div class="color-F00">addi r3, r4, 5</div>            |
+| 0x1002  | <div class="color-800">0x00</div> | <div class="color-800">0x1000+2</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1003  | <div class="color-800">0x05</div> | <div class="color-800">0x1000+3</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1004  | <div class="color-880">0x06</div> | <div class="color-880">0x1004+0</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1005  | <div class="color-FF0">0x00</div> | <div class="color-FF0">0x1004+1</div> | <div class="color-FF0">Standard</div>        | <div class="color-FF0">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1006  | <div class="color-880">0xDE</div> | <div class="color-880">0x1004+2</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1007  | <div class="color-880">0xAD</div> | <div class="color-880">0x1004+3</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1008  | <div class="color-880">0x38</div> | <div class="color-880">0x1004+4</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1009  | <div class="color-880">0x65</div> | <div class="color-880">0x1004+5</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100A  | <div class="color-880">0xBE</div> | <div class="color-880">0x1004+6</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100B  | <div class="color-880">0xEF</div> | <div class="color-880">0x1004+7</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100C  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+0</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x100D  | <div class="color-0F0">0x00</div> | <div class="color-0F0">0x100C+1</div> | <div class="color-0F0">Standard</div>        | <div class="color-0F0">x.placeholder</div>             |
+| 0x100E  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+2</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x100F  | <div class="color-080">0x02</div> | <div class="color-080">0x100C+3</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1010  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+4</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1011  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+5</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1012  | <div class="color-088">0x38</div> | <div class="color-088">0x1012+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1013  | <div class="color-0FF">0x64</div> | <div class="color-0FF">0x1012+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r4, 5</div>            |
+| 0x1014  | <div class="color-088">0x00</div> | <div class="color-088">0x1012+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1015  | <div class="color-088">0x05</div> | <div class="color-088">0x1012+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1016  | <div class="color-008">0x06</div> | <div class="color-008">0x1016+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1017  | <div class="color-00F">0x00</div> | <div class="color-00F">0x1016+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1018  | <div class="color-008">0x89</div> | <div class="color-008">0x1016+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1019  | <div class="color-008">0xAB</div> | <div class="color-008">0x1016+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101A  | <div class="color-008">0x38</div> | <div class="color-008">0x1016+4</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101B  | <div class="color-008">0x65</div> | <div class="color-008">0x1016+5</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101C  | <div class="color-008">0xCD</div> | <div class="color-008">0x1016+6</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101D  | <div class="color-008">0xEF</div> | <div class="color-008">0x1016+7</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101E  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+0</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x101F  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x101E+1</div> | <div class="color-F0F">Standard</div>        | <div class="color-F0F">x.placeholder</div>             |
+| 0x1020  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+2</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1021  | <div class="color-808">0x02</div> | <div class="color-808">0x101E+3</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1022  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+4</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1023  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+5</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1024  | <div class="color-800">0x14</div> | <div class="color-800">0x1024+0</div> | <div class="color-800">Standard</div>        | <div class="color-800">h.add r3, r4</div>              |
+| 0x1025  | <div class="color-F00">0x02</div> | <div class="color-F00">0x1024+1</div> | <div class="color-F00">Standard</div>        | <div class="color-F00">h.add r3, r4</div>              |
+| 0x1026  | <div class="color-880">0x38</div> | <div class="color-880">0x1026+0</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x1027  | <div class="color-FF0">0x66</div> | <div class="color-FF0">0x1026+1</div> | <div class="color-FF0">Standard</div>        | <div class="color-FF0">addi r3, r6, 7</div>            |
+| 0x1028  | <div class="color-880">0x00</div> | <div class="color-880">0x1026+2</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x1029  | <div class="color-880">0x07</div> | <div class="color-880">0x1026+3</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x102A  | <div class="color-080">0x14</div> | <div class="color-080">0x102A+0</div> | <div class="color-080">Standard</div>        | <div class="color-080">hs.add r3, r31</div>            |
+| 0x102B  | <div class="color-0F0">0x0F</div> | <div class="color-0F0">0x102A+1</div> | <div class="color-0F0">Standard</div>        | <div class="color-0F0">hs.add r3, r31</div>            |
+| 0x102C  | <div class="color-088">0x04</div> | <div class="color-088">0x102C+0</div> | <div class="color-088">Compressed</div>      | <div class="color-088">c.add r3, r30</div>             |
+| 0x102D  | <div class="color-0FF">0x0C</div> | <div class="color-0FF">0x102C+1</div> | <div class="color-0FF">Compressed</div>      | <div class="color-0FF">c.add r3, r30</div>             |
+| 0x102E  | <div class="color-008">0x84</div> | <div class="color-008">0x102E+0</div> | <div class="color-008">Compressed</div>      | <div class="color-008">cst.add r3, r29</div>           |
+| 0x102F  | <div class="color-00F">0x0B</div> | <div class="color-00F">0x102E+1</div> | <div class="color-00F">Compressed</div>      | <div class="color-00F">cst.add r3, r29</div>           |
+| 0x1030  | <div class="color-808">0x06</div> | <div class="color-808">0x1030+0</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1031  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x1030+1</div> | <div class="color-F0F">Std. Then Comp.</div> | <div class="color-F0F">paddi r3, r31, 0x12345678</div> |
+| 0x1032  | <div class="color-808">0x12</div> | <div class="color-808">0x1030+2</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1033  | <div class="color-808">0x34</div> | <div class="color-808">0x1030+3</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1034  | <div class="color-808">0x38</div> | <div class="color-808">0x1030+4</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1035  | <div class="color-808">0x7F</div> | <div class="color-808">0x1030+5</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1036  | <div class="color-808">0x56</div> | <div class="color-808">0x1030+6</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1037  | <div class="color-808">0x78</div> | <div class="color-808">0x1030+7</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1038  | <div class="color-800">0x04</div> | <div class="color-800">0x1038+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">c.add r3, r5</div>              |
+| 0x1039  | <div class="color-F00">0x04</div> | <div class="color-F00">0x1038+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">c.add r3, r5</div>              |
+| 0x103A  | <div class="color-880">0x04</div> | <div class="color-880">0x103A+0</div> | <div class="color-880">Compressed</div>      | <div class="color-880">c.add r3, r3</div>              |
+| 0x103B  | <div class="color-FF0">0x00</div> | <div class="color-FF0">0x103A+1</div> | <div class="color-FF0">Compressed</div>      | <div class="color-FF0">c.add r3, r3</div>              |
+| 0x103C  | <div class="color-080">0x04</div> | <div class="color-080">0x103C+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cs.add r3, r6</div>             |
+| 0x103D  | <div class="color-0F0">0x07</div> | <div class="color-0F0">0x103C+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cs.add r3, r6</div>             |
+| 0x103E  | <div class="color-088">0x38</div> | <div class="color-088">0x103E+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x103F  | <div class="color-0FF">0x63</div> | <div class="color-0FF">0x103E+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r3, 0x23</div>         |
+| 0x1040  | <div class="color-088">0x00</div> | <div class="color-088">0x103E+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x1041  | <div class="color-088">0x23</div> | <div class="color-088">0x103E+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x1042  | <div class="color-008">0x38</div> | <div class="color-008">0x1042+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1043  | <div class="color-00F">0x6A</div> | <div class="color-00F">0x1042+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">addi r3, r10, 0xA</div>         |
+| 0x1044  | <div class="color-008">0x00</div> | <div class="color-008">0x1042+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1045  | <div class="color-008">0x0A</div> | <div class="color-008">0x1042+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1046  | <div class="color-808">0x14</div> | <div class="color-808">0x1046+0</div> | <div class="color-808">Standard</div>        | <div class="color-808">hs.add r3, r5</div>             |
+| 0x1047  | <div class="color-F0F">0x05</div> | <div class="color-F0F">0x1046+1</div> | <div class="color-F0F">Standard</div>        | <div class="color-F0F">hs.add r3, r5</div>             |
+| 0x1048  | <div class="color-800">0x84</div> | <div class="color-800">0x1048+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">cst.add r3, r4</div>            |
+| 0x1049  | <div class="color-F00">0x03</div> | <div class="color-F00">0x1048+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">cst.add r3, r4</div>            |
+| 0x104A  | <div class="color-880">0x14</div> | <div class="color-880">0x104A+0</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">hs.add r3, r6</div>             |
+| 0x104B  | <div class="color-FF0">0x07</div> | <div class="color-FF0">0x104A+1</div> | <div class="color-FF0">Std. Then Comp.</div> | <div class="color-FF0">hs.add r3, r6</div>             |
+| 0x104C  | <div class="color-080">0x84</div> | <div class="color-080">0x104C+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cst.add r3, r28</div>           |
+| 0x104D  | <div class="color-0F0">0x09</div> | <div class="color-0F0">0x104C+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cst.add r3, r28</div>           |
+| 0x104E  | <div class="color-088">0x14</div> | <div class="color-088">0x104E+0</div> | <div class="color-088">Std. Then Comp.</div> | <div class="color-088">h.add r3, r29</div>             |
+| 0x104F  | <div class="color-0FF">0x0A</div> | <div class="color-0FF">0x104E+1</div> | <div class="color-0FF">Std. Then Comp.</div> | <div class="color-0FF">h.add r3, r29</div>             |
+| 0x1050  | <div class="color-008">0x84</div> | <div class="color-008">0x1050+0</div> | <div class="color-008">Compressed</div>      | <div class="color-008">cst.add r3, r30</div>           |
+| 0x1051  | <div class="color-00F">0x0D</div> | <div class="color-00F">0x1050+1</div> | <div class="color-00F">Compressed</div>      | <div class="color-00F">cst.add r3, r30</div>           |
+| 0x1052  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+0</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1053  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x1052+1</div> | <div class="color-F0F">Std. Then Comp.</div> | <div class="color-F0F">x.placeholder</div>             |
+| 0x1054  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+2</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1055  | <div class="color-808">0x02</div> | <div class="color-808">0x1052+3</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1056  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+4</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1057  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+5</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1058  | <div class="color-800">0x84</div> | <div class="color-800">0x1058+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">cst.add r3, r31</div>           |
+| 0x1059  | <div class="color-F00">0x0F</div> | <div class="color-F00">0x1058+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">cst.add r3, r31</div>           |
+| 0x105A  | <div class="color-880">0x38</div> | <div class="color-880">0x105A+0</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x105B  | <div class="color-FF0">0x6F</div> | <div class="color-FF0">0x105A+1</div> | <div class="color-FF0">Std. Then Comp.</div> | <div class="color-FF0">addi r3, r15, 0xF</div>         |
+| 0x105C  | <div class="color-880">0x00</div> | <div class="color-880">0x105A+2</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x105D  | <div class="color-880">0x0F</div> | <div class="color-880">0x105A+3</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x105E  | <div class="color-080">0x04</div> | <div class="color-080">0x105E+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cs.add r3, r4</div>             |
+| 0x105F  | <div class="color-0F0">0x03</div> | <div class="color-0F0">0x105E+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cs.add r3, r4</div>             |
+| 0x1060  | <div class="color-088">0x38</div> | <div class="color-088">0x1060+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1061  | <div class="color-0FF">0x6A</div> | <div class="color-0FF">0x1060+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r10, 0xF</div>         |
+| 0x1062  | <div class="color-088">0x00</div> | <div class="color-088">0x1060+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1063  | <div class="color-088">0x0F</div> | <div class="color-088">0x1060+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1064  | <div class="color-008">0x38</div> | <div class="color-008">0x1064+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
+| 0x1065  | <div class="color-00F">0x6B</div> | <div class="color-00F">0x1064+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">addi r3, r11, 0xF</div>         |
+| 0x1066  | <div class="color-008">0x00</div> | <div class="color-008">0x1064+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
+| 0x1067  | <div class="color-008">0x0F</div> | <div class="color-008">0x1064+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
 
 ## Little-Endian Machine Code
 
-| Address | Byte                              | PC                                  | Instruction                                            |
-|---------|-----------------------------------|-------------------------------------|--------------------------------------------------------|
-| 0x1000  | <div class="color-800">0x05</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1001  | <div class="color-800">0x00</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1002  | <div class="color-800">0x64</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1003  | <div class="color-800">0x38</div> | <div class="color-800">0x1000</div> | <div class="color-800">addi r3, r4, 5</div>            |
-| 0x1004  | <div class="color-880">0xAD</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1005  | <div class="color-880">0xDE</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1006  | <div class="color-880">0x00</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1007  | <div class="color-880">0x06</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1008  | <div class="color-880">0xEF</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x1009  | <div class="color-880">0xBE</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100A  | <div class="color-880">0x65</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100B  | <div class="color-880">0x38</div> | <div class="color-880">0x1004</div> | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
-| 0x100C  | <div class="color-080">0x02</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100D  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100E  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x100F  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1010  | <div class="color-088">0x64</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1011  | <div class="color-088">0x38</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1012  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1013  | <div class="color-080">0x00</div> | <div class="color-080">0x100C</div> | <div class="color-080">x.placeholder</div>             |
-| 0x1014  | <div class="color-008">0x00</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1015  | <div class="color-008">0x06</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1016  | <div class="color-088">0x05</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1017  | <div class="color-088">0x00</div> | <div class="color-088">0x1012</div> | <div class="color-088">addi r3, r4, 5</div>            |
-| 0x1018  | <div class="color-008">0x65</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1019  | <div class="color-008">0x38</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101A  | <div class="color-008">0xAB</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101B  | <div class="color-008">0x89</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101C  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x101D  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x101E  | <div class="color-008">0xEF</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x101F  | <div class="color-008">0xCD</div> | <div class="color-008">0x1016</div> | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
-| 0x1020  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1021  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1022  | <div class="color-808">0x02</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1023  | <div class="color-808">0x00</div> | <div class="color-808">0x101E</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1024  | <div class="color-880">0x66</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x1025  | <div class="color-880">0x38</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x1026  | <div class="color-800">0x02</div> | <div class="color-800">0x1024</div> | <div class="color-800">h.add r3, r4</div>              |
-| 0x1027  | <div class="color-800">0x14</div> | <div class="color-800">0x1024</div> | <div class="color-800">h.add r3, r4</div>              |
-| 0x1028  | <div class="color-080">0x0F</div> | <div class="color-080">0x102A</div> | <div class="color-080">hs.add r3, r31</div>            |
-| 0x1029  | <div class="color-080">0x14</div> | <div class="color-080">0x102A</div> | <div class="color-080">hs.add r3, r31</div>            |
-| 0x102A  | <div class="color-880">0x07</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x102B  | <div class="color-880">0x00</div> | <div class="color-880">0x1026</div> | <div class="color-880">addi r3, r6, 7</div>            |
-| 0x102C  | <div class="color-008">0x0B</div> | <div class="color-008">0x102E</div> | <div class="color-008">cst.add r3, r29</div>           |
-| 0x102D  | <div class="color-008">0x84</div> | <div class="color-008">0x102E</div> | <div class="color-008">cst.add r3, r29</div>           |
-| 0x102E  | <div class="color-088">0x0C</div> | <div class="color-088">0x102C</div> | <div class="color-088">c.add r3, r30</div>             |
-| 0x102F  | <div class="color-088">0x04</div> | <div class="color-088">0x102C</div> | <div class="color-088">c.add r3, r30</div>             |
-| 0x1030  | <div class="color-808">0x34</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1031  | <div class="color-808">0x12</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1032  | <div class="color-808">0x00</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1033  | <div class="color-808">0x06</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1034  | <div class="color-808">0x78</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1035  | <div class="color-808">0x56</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1036  | <div class="color-808">0x7F</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1037  | <div class="color-808">0x38</div> | <div class="color-808">0x1030</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
-| 0x1038  | <div class="color-880">0x00</div> | <div class="color-880">0x103A</div> | <div class="color-880">c.add r3, r3</div>              |
-| 0x1039  | <div class="color-880">0x04</div> | <div class="color-880">0x103A</div> | <div class="color-880">c.add r3, r3</div>              |
-| 0x103A  | <div class="color-800">0x04</div> | <div class="color-800">0x1038</div> | <div class="color-800">c.add r3, r5</div>              |
-| 0x103B  | <div class="color-800">0x04</div> | <div class="color-800">0x1038</div> | <div class="color-800">c.add r3, r5</div>              |
-| 0x103C  | <div class="color-088">0x63</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x103D  | <div class="color-088">0x38</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x103E  | <div class="color-080">0x07</div> | <div class="color-080">0x103C</div> | <div class="color-080">cs.add r3, r6</div>             |
-| 0x103F  | <div class="color-080">0x04</div> | <div class="color-080">0x103C</div> | <div class="color-080">cs.add r3, r6</div>             |
-| 0x1040  | <div class="color-008">0x6A</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1041  | <div class="color-008">0x38</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1042  | <div class="color-088">0x23</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x1043  | <div class="color-088">0x00</div> | <div class="color-088">0x103E</div> | <div class="color-088">addi r3, r3, 0x23</div>         |
-| 0x1044  | <div class="color-808">0x05</div> | <div class="color-808">0x1046</div> | <div class="color-808">hs.add r3, r5</div>             |
-| 0x1045  | <div class="color-808">0x14</div> | <div class="color-808">0x1046</div> | <div class="color-808">hs.add r3, r5</div>             |
-| 0x1046  | <div class="color-008">0x0A</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1047  | <div class="color-008">0x00</div> | <div class="color-008">0x1042</div> | <div class="color-008">addi r3, r10, 0xA</div>         |
-| 0x1048  | <div class="color-880">0x07</div> | <div class="color-880">0x104A</div> | <div class="color-880">hs.add r3, r6</div>             |
-| 0x1049  | <div class="color-880">0x14</div> | <div class="color-880">0x104A</div> | <div class="color-880">hs.add r3, r6</div>             |
-| 0x104A  | <div class="color-800">0x03</div> | <div class="color-800">0x1048</div> | <div class="color-800">cst.add r3, r4</div>            |
-| 0x104B  | <div class="color-800">0x84</div> | <div class="color-800">0x1048</div> | <div class="color-800">cst.add r3, r4</div>            |
-| 0x104C  | <div class="color-088">0x0A</div> | <div class="color-088">0x104E</div> | <div class="color-088">h.add r3, r29</div>             |
-| 0x104D  | <div class="color-088">0x14</div> | <div class="color-088">0x104E</div> | <div class="color-088">h.add r3, r29</div>             |
-| 0x104E  | <div class="color-080">0x09</div> | <div class="color-080">0x104C</div> | <div class="color-080">cst.add r3, r28</div>           |
-| 0x104F  | <div class="color-080">0x84</div> | <div class="color-080">0x104C</div> | <div class="color-080">cst.add r3, r28</div>           |
-| 0x1050  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1051  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1052  | <div class="color-008">0x0D</div> | <div class="color-008">0x1050</div> | <div class="color-008">cst.add r3, r30</div>           |
-| 0x1053  | <div class="color-008">0x84</div> | <div class="color-008">0x1050</div> | <div class="color-008">cst.add r3, r30</div>           |
-| 0x1054  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1055  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1056  | <div class="color-808">0x02</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1057  | <div class="color-808">0x00</div> | <div class="color-808">0x1052</div> | <div class="color-808">x.placeholder</div>             |
-| 0x1058  | <div class="color-880">0x6F</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x1059  | <div class="color-880">0x38</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105A  | <div class="color-800">0x0F</div> | <div class="color-800">0x1058</div> | <div class="color-800">cst.add r3, r31</div>           |
-| 0x105B  | <div class="color-800">0x84</div> | <div class="color-800">0x1058</div> | <div class="color-800">cst.add r3, r31</div>           |
-| 0x105C  | <div class="color-080">0x03</div> | <div class="color-080">0x105E</div> | <div class="color-080">cs.add r3, r4</div>             |
-| 0x105D  | <div class="color-080">0x04</div> | <div class="color-080">0x105E</div> | <div class="color-080">cs.add r3, r4</div>             |
-| 0x105E  | <div class="color-880">0x0F</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x105F  | <div class="color-880">0x00</div> | <div class="color-880">0x105A</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
-| 0x1060  | <div class="color-088">0x0F</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1061  | <div class="color-088">0x00</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1062  | <div class="color-088">0x6A</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1063  | <div class="color-088">0x38</div> | <div class="color-088">0x1060</div> | <div class="color-088">addi r3, r10, 0xF</div>         |
-| 0x1064  | <div class="color-008">0x0F</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1065  | <div class="color-008">0x00</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1066  | <div class="color-008">0x6B</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
-| 0x1067  | <div class="color-008">0x38</div> | <div class="color-008">0x1064</div> | <div class="color-008">addi r3, r11, 0xF</div>         |
\ No newline at end of file
+| Address | Byte                              | PC                                    | Mode                                         | Instruction                                            |
+|---------|-----------------------------------|---------------------------------------|----------------------------------------------|--------------------------------------------------------|
+| 0x1000  | <div class="color-800">0x05</div> | <div class="color-800">0x1000+3</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1001  | <div class="color-800">0x00</div> | <div class="color-800">0x1000+2</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1002  | <div class="color-F00">0x64</div> | <div class="color-F00">0x1000+1</div> | <div class="color-F00">Standard</div>        | <div class="color-F00">addi r3, r4, 5</div>            |
+| 0x1003  | <div class="color-800">0x38</div> | <div class="color-800">0x1000+0</div> | <div class="color-800">Standard</div>        | <div class="color-800">addi r3, r4, 5</div>            |
+| 0x1004  | <div class="color-880">0xAD</div> | <div class="color-880">0x1004+3</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1005  | <div class="color-880">0xDE</div> | <div class="color-880">0x1004+2</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1006  | <div class="color-FF0">0x00</div> | <div class="color-FF0">0x1004+1</div> | <div class="color-FF0">Standard</div>        | <div class="color-FF0">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1007  | <div class="color-880">0x06</div> | <div class="color-880">0x1004+0</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1008  | <div class="color-880">0xEF</div> | <div class="color-880">0x1004+7</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x1009  | <div class="color-880">0xBE</div> | <div class="color-880">0x1004+6</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100A  | <div class="color-880">0x65</div> | <div class="color-880">0x1004+5</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100B  | <div class="color-880">0x38</div> | <div class="color-880">0x1004+4</div> | <div class="color-880">Standard</div>        | <div class="color-880">paddi r3, r5, 0xDEADBEEF</div>  |
+| 0x100C  | <div class="color-080">0x02</div> | <div class="color-080">0x100C+3</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x100D  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+2</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x100E  | <div class="color-0F0">0x00</div> | <div class="color-0F0">0x100C+1</div> | <div class="color-0F0">Standard</div>        | <div class="color-0F0">x.placeholder</div>             |
+| 0x100F  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+0</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1010  | <div class="color-0FF">0x64</div> | <div class="color-0FF">0x1012+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r4, 5</div>            |
+| 0x1011  | <div class="color-088">0x38</div> | <div class="color-088">0x1012+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1012  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+5</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1013  | <div class="color-080">0x00</div> | <div class="color-080">0x100C+4</div> | <div class="color-080">Standard</div>        | <div class="color-080">x.placeholder</div>             |
+| 0x1014  | <div class="color-00F">0x00</div> | <div class="color-00F">0x1016+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1015  | <div class="color-008">0x06</div> | <div class="color-008">0x1016+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1016  | <div class="color-088">0x05</div> | <div class="color-088">0x1012+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1017  | <div class="color-088">0x00</div> | <div class="color-088">0x1012+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r4, 5</div>            |
+| 0x1018  | <div class="color-008">0x65</div> | <div class="color-008">0x1016+5</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1019  | <div class="color-008">0x38</div> | <div class="color-008">0x1016+4</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101A  | <div class="color-008">0xAB</div> | <div class="color-008">0x1016+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101B  | <div class="color-008">0x89</div> | <div class="color-008">0x1016+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101C  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x101E+1</div> | <div class="color-F0F">Standard</div>        | <div class="color-F0F">x.placeholder</div>             |
+| 0x101D  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+0</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x101E  | <div class="color-008">0xEF</div> | <div class="color-008">0x1016+7</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x101F  | <div class="color-008">0xCD</div> | <div class="color-008">0x1016+6</div> | <div class="color-008">Standard</div>        | <div class="color-008">paddi r3, r5, 0x89ABCDEF</div>  |
+| 0x1020  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+5</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1021  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+4</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1022  | <div class="color-808">0x02</div> | <div class="color-808">0x101E+3</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1023  | <div class="color-808">0x00</div> | <div class="color-808">0x101E+2</div> | <div class="color-808">Standard</div>        | <div class="color-808">x.placeholder</div>             |
+| 0x1024  | <div class="color-FF0">0x66</div> | <div class="color-FF0">0x1026+1</div> | <div class="color-FF0">Standard</div>        | <div class="color-FF0">addi r3, r6, 7</div>            |
+| 0x1025  | <div class="color-880">0x38</div> | <div class="color-880">0x1026+0</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x1026  | <div class="color-F00">0x02</div> | <div class="color-F00">0x1024+1</div> | <div class="color-F00">Standard</div>        | <div class="color-F00">h.add r3, r4</div>              |
+| 0x1027  | <div class="color-800">0x14</div> | <div class="color-800">0x1024+0</div> | <div class="color-800">Standard</div>        | <div class="color-800">h.add r3, r4</div>              |
+| 0x1028  | <div class="color-0F0">0x0F</div> | <div class="color-0F0">0x102A+1</div> | <div class="color-0F0">Standard</div>        | <div class="color-0F0">hs.add r3, r31</div>            |
+| 0x1029  | <div class="color-080">0x14</div> | <div class="color-080">0x102A+0</div> | <div class="color-080">Standard</div>        | <div class="color-080">hs.add r3, r31</div>            |
+| 0x102A  | <div class="color-880">0x07</div> | <div class="color-880">0x1026+3</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x102B  | <div class="color-880">0x00</div> | <div class="color-880">0x1026+2</div> | <div class="color-880">Standard</div>        | <div class="color-880">addi r3, r6, 7</div>            |
+| 0x102C  | <div class="color-00F">0x0B</div> | <div class="color-00F">0x102E+1</div> | <div class="color-00F">Compressed</div>      | <div class="color-00F">cst.add r3, r29</div>           |
+| 0x102D  | <div class="color-008">0x84</div> | <div class="color-008">0x102E+0</div> | <div class="color-008">Compressed</div>      | <div class="color-008">cst.add r3, r29</div>           |
+| 0x102E  | <div class="color-0FF">0x0C</div> | <div class="color-0FF">0x102C+1</div> | <div class="color-0FF">Compressed</div>      | <div class="color-0FF">c.add r3, r30</div>             |
+| 0x102F  | <div class="color-088">0x04</div> | <div class="color-088">0x102C+0</div> | <div class="color-088">Compressed</div>      | <div class="color-088">c.add r3, r30</div>             |
+| 0x1030  | <div class="color-808">0x34</div> | <div class="color-808">0x1030+3</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1031  | <div class="color-808">0x12</div> | <div class="color-808">0x1030+2</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1032  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x1030+1</div> | <div class="color-F0F">Std. Then Comp.</div> | <div class="color-F0F">paddi r3, r31, 0x12345678</div> |
+| 0x1033  | <div class="color-808">0x06</div> | <div class="color-808">0x1030+0</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1034  | <div class="color-808">0x78</div> | <div class="color-808">0x1030+7</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1035  | <div class="color-808">0x56</div> | <div class="color-808">0x1030+6</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1036  | <div class="color-808">0x7F</div> | <div class="color-808">0x1030+5</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1037  | <div class="color-808">0x38</div> | <div class="color-808">0x1030+4</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">paddi r3, r31, 0x12345678</div> |
+| 0x1038  | <div class="color-FF0">0x00</div> | <div class="color-FF0">0x103A+1</div> | <div class="color-FF0">Compressed</div>      | <div class="color-FF0">c.add r3, r3</div>              |
+| 0x1039  | <div class="color-880">0x04</div> | <div class="color-880">0x103A+0</div> | <div class="color-880">Compressed</div>      | <div class="color-880">c.add r3, r3</div>              |
+| 0x103A  | <div class="color-F00">0x04</div> | <div class="color-F00">0x1038+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">c.add r3, r5</div>              |
+| 0x103B  | <div class="color-800">0x04</div> | <div class="color-800">0x1038+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">c.add r3, r5</div>              |
+| 0x103C  | <div class="color-0FF">0x63</div> | <div class="color-0FF">0x103E+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r3, 0x23</div>         |
+| 0x103D  | <div class="color-088">0x38</div> | <div class="color-088">0x103E+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x103E  | <div class="color-0F0">0x07</div> | <div class="color-0F0">0x103C+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cs.add r3, r6</div>             |
+| 0x103F  | <div class="color-080">0x04</div> | <div class="color-080">0x103C+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cs.add r3, r6</div>             |
+| 0x1040  | <div class="color-00F">0x6A</div> | <div class="color-00F">0x1042+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">addi r3, r10, 0xA</div>         |
+| 0x1041  | <div class="color-008">0x38</div> | <div class="color-008">0x1042+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1042  | <div class="color-088">0x23</div> | <div class="color-088">0x103E+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x1043  | <div class="color-088">0x00</div> | <div class="color-088">0x103E+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r3, 0x23</div>         |
+| 0x1044  | <div class="color-F0F">0x05</div> | <div class="color-F0F">0x1046+1</div> | <div class="color-F0F">Standard</div>        | <div class="color-F0F">hs.add r3, r5</div>             |
+| 0x1045  | <div class="color-808">0x14</div> | <div class="color-808">0x1046+0</div> | <div class="color-808">Standard</div>        | <div class="color-808">hs.add r3, r5</div>             |
+| 0x1046  | <div class="color-008">0x0A</div> | <div class="color-008">0x1042+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1047  | <div class="color-008">0x00</div> | <div class="color-008">0x1042+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r10, 0xA</div>         |
+| 0x1048  | <div class="color-FF0">0x07</div> | <div class="color-FF0">0x104A+1</div> | <div class="color-FF0">Std. Then Comp.</div> | <div class="color-FF0">hs.add r3, r6</div>             |
+| 0x1049  | <div class="color-880">0x14</div> | <div class="color-880">0x104A+0</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">hs.add r3, r6</div>             |
+| 0x104A  | <div class="color-F00">0x03</div> | <div class="color-F00">0x1048+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">cst.add r3, r4</div>            |
+| 0x104B  | <div class="color-800">0x84</div> | <div class="color-800">0x1048+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">cst.add r3, r4</div>            |
+| 0x104C  | <div class="color-0FF">0x0A</div> | <div class="color-0FF">0x104E+1</div> | <div class="color-0FF">Std. Then Comp.</div> | <div class="color-0FF">h.add r3, r29</div>             |
+| 0x104D  | <div class="color-088">0x14</div> | <div class="color-088">0x104E+0</div> | <div class="color-088">Std. Then Comp.</div> | <div class="color-088">h.add r3, r29</div>             |
+| 0x104E  | <div class="color-0F0">0x09</div> | <div class="color-0F0">0x104C+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cst.add r3, r28</div>           |
+| 0x104F  | <div class="color-080">0x84</div> | <div class="color-080">0x104C+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cst.add r3, r28</div>           |
+| 0x1050  | <div class="color-F0F">0x00</div> | <div class="color-F0F">0x1052+1</div> | <div class="color-F0F">Std. Then Comp.</div> | <div class="color-F0F">x.placeholder</div>             |
+| 0x1051  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+0</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1052  | <div class="color-00F">0x0D</div> | <div class="color-00F">0x1050+1</div> | <div class="color-00F">Compressed</div>      | <div class="color-00F">cst.add r3, r30</div>           |
+| 0x1053  | <div class="color-008">0x84</div> | <div class="color-008">0x1050+0</div> | <div class="color-008">Compressed</div>      | <div class="color-008">cst.add r3, r30</div>           |
+| 0x1054  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+5</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1055  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+4</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1056  | <div class="color-808">0x02</div> | <div class="color-808">0x1052+3</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1057  | <div class="color-808">0x00</div> | <div class="color-808">0x1052+2</div> | <div class="color-808">Std. Then Comp.</div> | <div class="color-808">x.placeholder</div>             |
+| 0x1058  | <div class="color-FF0">0x6F</div> | <div class="color-FF0">0x105A+1</div> | <div class="color-FF0">Std. Then Comp.</div> | <div class="color-FF0">addi r3, r15, 0xF</div>         |
+| 0x1059  | <div class="color-880">0x38</div> | <div class="color-880">0x105A+0</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x105A  | <div class="color-F00">0x0F</div> | <div class="color-F00">0x1058+1</div> | <div class="color-F00">Compressed</div>      | <div class="color-F00">cst.add r3, r31</div>           |
+| 0x105B  | <div class="color-800">0x84</div> | <div class="color-800">0x1058+0</div> | <div class="color-800">Compressed</div>      | <div class="color-800">cst.add r3, r31</div>           |
+| 0x105C  | <div class="color-0F0">0x03</div> | <div class="color-0F0">0x105E+1</div> | <div class="color-0F0">Compressed</div>      | <div class="color-0F0">cs.add r3, r4</div>             |
+| 0x105D  | <div class="color-080">0x04</div> | <div class="color-080">0x105E+0</div> | <div class="color-080">Compressed</div>      | <div class="color-080">cs.add r3, r4</div>             |
+| 0x105E  | <div class="color-880">0x0F</div> | <div class="color-880">0x105A+3</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x105F  | <div class="color-880">0x00</div> | <div class="color-880">0x105A+2</div> | <div class="color-880">Std. Then Comp.</div> | <div class="color-880">addi r3, r15, 0xF</div>         |
+| 0x1060  | <div class="color-088">0x0F</div> | <div class="color-088">0x1060+3</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1061  | <div class="color-088">0x00</div> | <div class="color-088">0x1060+2</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1062  | <div class="color-0FF">0x6A</div> | <div class="color-0FF">0x1060+1</div> | <div class="color-0FF">Standard</div>        | <div class="color-0FF">addi r3, r10, 0xF</div>         |
+| 0x1063  | <div class="color-088">0x38</div> | <div class="color-088">0x1060+0</div> | <div class="color-088">Standard</div>        | <div class="color-088">addi r3, r10, 0xF</div>         |
+| 0x1064  | <div class="color-008">0x0F</div> | <div class="color-008">0x1064+3</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
+| 0x1065  | <div class="color-008">0x00</div> | <div class="color-008">0x1064+2</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
+| 0x1066  | <div class="color-00F">0x6B</div> | <div class="color-00F">0x1064+1</div> | <div class="color-00F">Standard</div>        | <div class="color-00F">addi r3, r11, 0xF</div>         |
+| 0x1067  | <div class="color-008">0x38</div> | <div class="color-008">0x1064+0</div> | <div class="color-008">Standard</div>        | <div class="color-008">addi r3, r11, 0xF</div>         |
\ No newline at end of file
index a9db541be8655977c3d166f980f1d55c9406b978..09de5dfb841d53287558ecea1d0110a5d2bbcfd5 100755 (executable)
@@ -41,20 +41,24 @@ small_regs[29]=5
 small_regs[30]=6
 small_regs[31]=7
 colors=("800" "880" "080" "088" "008" "808")
+bright_colors=("F00" "FF0" "0F0" "0FF" "00F" "F0F")
+modes=("Standard" "Compressed" "Std. Then Comp.")
 pc=0x1000
+mode=0
 initial_pc=$((pc))
 last_pc=$((pc))
 last_color=0
 bytes=()
 function out_byte_text() {
     local s
-    printf -v s '| %4s | %6s | %-30s |' "$1" "$2" "$3"
-    bytes+=("$s")
+    printf -v s ' %s |' "$@"
+    bytes+=("|$s")
 }
 function out_byte() {
     local a b
     printf -v a '0x%02X' $(($1))
-    printf -v b '0x%04X' $((pc))
+    printf -v b '0x%04X+%i' $((pc)) $((${#bytes[@]} + initial_pc - pc))
+    local m="${modes[mode]}"
     local l="$line"
     if ((${#colors[@]} != 0)); then
         if ((last_pc != pc)); then
@@ -63,11 +67,15 @@ function out_byte() {
             ((last_color %= ${#colors[@]}))
         fi
         local color="${colors[last_color]}"
+        if ((${#bytes[@]} + initial_pc - pc == 1)); then
+            color="${bright_colors[last_color]}"
+        fi
         a="<div class=\"color-$color\">$a</div>"
         b="<div class=\"color-$color\">$b</div>"
+        m="<div class=\"color-$color\">$m</div>"
         l="<div class=\"color-$color\">$l</div>"
     fi
-    out_byte_text "$a" "$b" "$l"
+    out_byte_text "$a" "$b" "$m" "$l"
 }
 function out_16() {
     out_byte $(($1 >> 8))
@@ -89,6 +97,7 @@ for line in "${lines[@]}"; do
     fi
     arg1s="${small_regs[arg1]}"
     arg2s="${small_regs[arg2]}"
+    next_mode=$((mode))
     case "$opcode" in
     addi)
         out_32 $((14 << 31 - 5 | arg1 << 31 - 10 | arg2 << 31 - 15 | arg3 & 0xFFFF))
@@ -111,6 +120,7 @@ for line in "${lines[@]}"; do
     hs.add)
         out_16 $((5 << 15 - 5 | arg1s << 15 - 11 | arg2s << 15 - 14 | 1))
         ((pc += 2))
+        next_mode=1
         ;;
     c.add)
         out_16 $((1 << 15 - 5 | arg1s << 15 - 11 | arg2s << 15 - 14))
@@ -119,10 +129,12 @@ for line in "${lines[@]}"; do
     cs.add)
         out_16 $((1 << 15 - 5 | arg1s << 15 - 11 | arg2s << 15 - 14 | 1))
         ((pc += 2))
+        next_mode=0
         ;;
     cst.add)
         out_16 $((1 << 15 | 1 << 15 - 5 | arg1s << 15 - 11 | arg2s << 15 - 14 | 1))
         ((pc += 2))
+        next_mode=2
         ;;
     *)
         echo "invalid opcode: $opcode"
@@ -130,6 +142,11 @@ for line in "${lines[@]}"; do
         exit 1
         ;;
     esac
+    if (( mode == 2 )); then
+        next_mode=1
+    fi
+    #printf "pc=0x%X mode=%i next_mode=%i\n" $((pc)) $((mode)) $((next_mode))
+    mode=$((next_mode))
 done
 while ((${#bytes[@]} % 4 != 0)); do
     out_byte_text "" "" ""
@@ -140,8 +157,8 @@ function write() {
     local endian_bits=$(($2))
     echo "## $endian Machine Code"
     echo
-    echo "| Address | Byte | PC     | Instruction                    |"
-    echo "|---------|------|--------|--------------------------------|"
+    echo "| Address | Byte | PC | Mode | Instruction |"
+    echo "|---------|------|----|------|-------------|"
     for((i=0;i<${#bytes[@]};i++)); do
         printf "| 0x%04X  %s\n" $((i + initial_pc)) "${bytes[i ^ endian_bits]}"
     done