Fix handling of several instructions

We are now handling all instructions we have implmeented, and their respective flags, correctly and we now pass test 3 and 4 from Timendus' CHIP-8 test suite!
This commit is contained in:
Zoe
2025-02-06 20:04:56 +00:00
parent 781ca3c8e9
commit 8a682699f6
9 changed files with 317 additions and 67 deletions

View File

@@ -113,7 +113,7 @@ class Bytecode {
};
inline Bytecode parse(uint16_t opcode) {
struct Bytecode bytecode;
Bytecode bytecode;
switch (opcode & 0xF000) {
case 0x0000: {