Fix reg1/reg2 tables: CNTR is REG2[14], STACKA is REG1[15]

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.
This commit is contained in:
Dr. Christian Giessen
2026-04-22 20:36:54 +00:00
parent 6dd976fcf6
commit 4e49d0d0e6
2 changed files with 2 additions and 2 deletions

Binary file not shown.