35
Appendix C - CHIP-8 Interpreter
CHIP-8 Interpreter Listing
To use the
locations
0000 | 91 | BB | FF | 01 | B2 | B6 | F8 | CF | 0100 | 00 | 00 | 00 | 00 | 00 | 45 | A3 | 98 |
0008 | A2 | F8 | 81 | B1 | F8 | 46 | Al | 90 | 0108 | 56 | D4 | F8 | 81 | BC | F8 | 95 | AC |
0010 | B4 | F8 | 1B | A4 | F8 | 01 | B5 | F8 | 0110 | 22 | DC | 12 | 56 | D4 | 06 | B8 | D4 |
0018 | FC | A5 | D4 | 96 | B7 | E2 | 94 | BC | 0118 | 06 | A8 | D4 | 64 | 0A | 01 | E6 | 8A |
0020 | 45 | AF | F6 | F6 | F6 | F6 | 32 | 44 | 0120 | F4 | AA | 3B | 28 | 9A | FC | 01 | BA |
0028 | F9 | 50 | AC | 8F | FA | 0F | F9 | F0 | 0128 | D4 | F8 | 81 | BA 06 FA 0F AA | ||||
0030 | A6 | 05 | F6 | F6 | F6 | F6 | F9 | F0 | 0130 | 0A | AA | D4 | E6 | 06 | BF | 93 | BE |
0038 | A7 | 4C | B3 | 8C | FC | 0F | AC | 0C | 0138 | F8 | 1B | AE 2A 1A F8 00 5A | |||||
0040 | A3 | D3 | 30 | 1B | 8F | FA | 0F | B3 | 0140 | 0E | F5 | 3B | 48 | 56 | 0A | FC | 01 |
0048 | 45 | 30 40 | 22 | 69 | 12 | D4 | 00 | 0148 | 5A | 30 | 40 | 4E | F6 | 3B | 3C | 9F | |
0050 | 00 | 01 | 01 | 01 | 01 | 01 | 01 | 01 | 0150 | 56 | 2A | 2A | D4 | 00 | 22 | 86 | 52 |
0058 | 01 | 01 | 01 | 01 | 01 | 00 | 01 | 01 | 0158 | F8 | F0 | A7 | 07 | 5A | 87 | F3 | 17 |
0060 | 00 | 7C | 75 | 83 | 88 | 95 | B4 | 87 | 0160 | 1A | 3A | 5B | 12 | D4 | 22 | 86 | 52 |
0068 | BC | 91 | EB | A4 | D9 | 70 | 99 | 05 | 0168 | F8 | F0 | A7 | 0A | 57 | 87 | F3 | 17 |
0070 | 06 | FA | 07 | BE | 06 | FA | 3F | F6 | 0170 | 1A | 3A | 6B | 12 | D4 | 15 | 85 | 22 |
0078 | F6 | F6 | 22 | 52 | 07 | FA | 1F | FE | 0178 | 73 | 95 | 52 | 25 | 45 | A5 | 86 | FA |
0080 | FE | FE | F1 | AC | 9B | BC | 45 | FA | 0180 | 0F | B5 | D4 | 45 | E6 | F3 | 3A | 82 |
0088 | 0F | AD | A7 | F8 | D0 | A6 | 93 | AF | 0188 | 15 | 15 | D4 | 45 | E6 | F3 | 3A | 88 |
0090 | 87 | 32 | F3 | 27 | 4A | BD | 9E | AE | 0190 | D4 | 45 | 07 | 30 | 8C | 45 | 07 | 30 |
0098 | 8E | 32 | A4 | 9D | F6 | BD | 8F | 76 | 0198 | 84 | E6 | 62 | 26 | 45 | A3 | 36 | 88 |
00A0 | AF | 2E | 30 | 98 | 9D | 56 | 16 | 8F | 01A0 | D4 | 3E | 88 | D4 | F8 | F0 | A7 | E7 |
00A8 | 56 | 16 | 30 | 8E | 00 | EC | F8 | D0 | 0lA8 45 F4 A5 86 FA 0F 3B B2 | ||||||||
00B0 | A6 | 93 | A7 | 8D | 32 | D9 | 06 | F2 | 01B0 | FC | 01 | B5 | D4 | 45 | 56 | D4 | 45 |
00B8 | 2D | 32 | BE | F8 | 01 | A7 | 46 | F3 | 01B8 | E6 | F4 | 56 | D4 | 45 | FA | 0F | 3A |
00C0 | 5C | 02 | FB | 07 | 32 | D2 | 1C | 06 | 01C0 | C4 | 07 | 56 | D4 | AF | 22 | F8 | D3 |
00C8 | F2 | 32 | CE | F8 | 01 | A7 | 06 | F3 | 01C8 | 73 | 8F | F9 | F0 | 52 | E6 | 07 | D2 |
00D0 | 5C | 2C | 16 | 8C | FC | 08 | AC | 3B | 01D0 | 56 | F8 | FF A6 F8 00 7E 56 | |||||
00D8 | B3 | F8 | FF | A6 | 87 | 56 | 12 | D4 | 0lD8 D4 19 89 AE 93 BE 99 EE | ||||||||
00E0 | 9B | BF | F8 | FF | AF | 93 | 5F | 8F | 01E0 | F4 | 56 | 76 | E6 | F4 | B9 | 56 | 45 |
00E8 | 32 | DF | 2F | 30 | E5 | 00 | 42 | B5 | 01E8 | F2 | 56 | D4 | 45 | AA | 86 | FA | 0F |
00F0 | 42 | A5 | D4 | 8D | A7 | 87 | 32 | AC | 01F0 | BA | D4 | 00 | 00 | 00 | 00 | 00 | 00 |
00F8 | 2A | 27 | 30 | F5 | 00 | 00 | 00 | 00 | 01F8 | 00 | 00 | 00 | 00 | 00 | E0 | 00 | 4B |
<e0m> |
|
|
|
|
|
|
|
| <eom> |
|
|
|
|
|
|
|
|