Restore CPSR from SPSR for ARM TST/TEQ/CMP/CMN with unused Rd=15 when the current mode has an SPSR. Preserve sequential PC and nominal timing; use normal ALU flags in User/System. Keep ordinary result-writing PC return validation unchanged. Reproduced independent jsmolka/gba-tests ARM failure 234 before this fix. Original regressions cover flags, masks, bank restoration, operand forms, conditions, timing, and atomic errors. The public ROM progresses to a separate unsupported load/writeback alias at test 360; no full public-suite pass is claimed. |
||
|---|---|---|
| .. | ||
| hardware | ||
| architecture.md | ||
| demos.md | ||
| development.md | ||
| references.md | ||
| rom-tests.md | ||
| status.md | ||
| testing.md | ||