Register tables were wrong per the official core register table (docs/opcode_mnemonics.txt Table 9-5): - reg1[15]: was CNTR, should be STACKA - reg2[12]: was STACKA, should be RES (reserved) - reg2[13]: was LPCSTACKA, should be RES (reserved) - reg2[14]: was RES, should be CNTR - reg2[15]: was RES, should be LPSTACKA This fixes CNTR loads showing as 'RES = ...' in disassembly. Verified: isa_test.bin now shows CNTR = 0x000A, iir.bin shows CNTR = 0x0100 and CNTR = 0x0002.
28 KiB
Executable File
28 KiB
Executable File