instruction decoding

This commit is contained in:
2026-07-15 15:54:51 +10:00
parent 8e26d3e19d
commit 9d0c1de3f5
8 changed files with 195 additions and 46 deletions

View File

@@ -8,7 +8,10 @@ int main() {
return 1;
}
free(emu);
Instruction inst = decodeInstruction(emu->mem, &emu->pc);
printf("%s\n", instructionToCStr(inst));
freeEmulator(emu);
return 0;
}
}