Fill indexed ALU ops and point at the Mimic implementation plan.

Implement missing 6809 indexed arithmetic/logic opcodes, document the parent instruction-suite commands, add Makefile.test-instr, and point AGENTS.md at the V 21-Implementation plan (SuperMon 64).
This commit is contained in:
2026-10-18 13:41:26 -05:00
parent 45182c7759
commit 4649144770
5 changed files with 180 additions and 8 deletions
+17
View File
@@ -105,3 +105,20 @@ See LICENSE (heritage code fragments retain original copyright notices where app
- Companion: cc09 (Wintek 6809 toolchain recreation)
Enjoy the 6809 on modern iron.
## Running the Instruction Set Validation Tests
The CPU validation suite lives in the parent `tests/` directory.
From inside this directory (`mimic09`):
```bash
../tests/run-instr-suite.sh # full 6809 + 6309 suite
../tests/run-instr-suite.sh --test 6809_ABX_inh # one specific test
../tests/run-instr-suite.sh --list
```
Each test feeds monitor commands that literally poke opcodes "by hand" (`:` command),
single-steps them, captures `R` output, and compares registers against the documented behavior.
See `../tests/README.md` for more details.