# Status **2026-11-25: U16, an MSR that sets T no longer crashes the next step** (arm7tdmi-rust's rung 5 found it). The two ARM words the MSR left in the pipeline are decoded as their bits 15:0, a HYPOTHESIS (docs/undocumented-behavior.md U16; ARM's documents only forbid such an MSR); U16 stays open. `_core.py` `_execute_thumb` masks the decoded word, which changes nothing when the pipeline holds Thumb halfwords. Test `tests/test_msr_thumb.py` (2 tests). PyPy 7.3.20: `pytest` 509 passed (507 + 2; slow included, the 15 ROMs among them); `scripts/sst_gate.py` 2,192,923 of 2,192,923, excluded C2 5,578, C6 1,499, C7 50,000, overridden C6 1 (unchanged: each corpus case is one instruction, so none reaches the step after such an MSR). **2026-11-23: U14 corrected on gba-python's board.** Setting I or F still acts one instruction late, but clearing it now acts at once: with Nintendo's BIOS, alyosha-tas `irq/IRQ_sub` and `irq/IRQ_sub_slow` (hardware-captured) pass only this way, and `psr` passes only with setting late (docs/undocumented-behavior.md U14). Unit test `test_irq_mask_change`; `pytest` 507 passed; `scripts/sst_gate.py` 2,192,923 of 2,192,923 (unchanged). gba-python's mGBA-suite "Timer count-up" goes back to 936/936 (retail BIOS). **2026-11-19: rungs 0 to 4 pass after the wave-2 provenance rewrite** (local git only; private remote `alewman/arm7tdmi-python`, not pushed). Every piece first written with NanoBoyAdvance's source open was removed unread and rewritten from permitted sources (docs/provenance.md "Wave 2"). | Rung | Command | Result (2026-11-19, PyPy 7.3.20) | | --- | --- | --- | | 0 | `pytest tests/test_tables.py tests/test_bus_schedule.py tests/test_readability.py` | all pass; `scripts/gen_tables.py --check` clean | | 1 | `python scripts/sst_gate.py` | 2,192,923 of 2,192,923 gated cases; excluded C2 5,578, C6 1,499, C7 50,000; overridden C6 1 (unchanged) | | 1 (I cycles) | `python scripts/referee_icycles.py` | 2,118,750 agree with NanoBoyAdvance run closed box; C5 74,016; C11 156; none unexplained (unchanged) | | 2-3 | `pytest tests/test_roms.py` | 15 of 15 ROMs (jsmolka arm, thumb; alyosha-tas arm, thumb blx, cpy, Push_no_regs, Coprocessor_14, eight LDM^ glitch tests); the pre-rewrite core passed 11 of these 15 | | 4 | `python scripts/multiply_judge.py` | 7,000,000 of 7,000,000 | | tools | `python scripts/disasm_judge.py` | no unexplained differences against mGBA (closed box), MAME, objdump; GNU as round trip clean | | all | `pytest` | 502 passed, slow included (before: 492; the 10 added are rung-3 ROMs) | Not judged here (need a board's timer or interrupts; rung 5 in gba-python): alyosha-tas `psr` (U14) and `thumb/Pop_no_regs` (C11's timing). ## Next - gba-python re-pins this core to pick up the rewrite (public API unchanged). - Behaviours resting only on closed-box emulator measurements are listed in docs/undocumented-behavior.md "Open items"; there is no GBA hardware on hand. - The git history still holds the removed code and the cartridge logo (`4d8d2ab`): rewrite it before the repository goes public. - `booth_multiply` (the zlib model) is slower than the removed carry functions; it runs for multiplies with S set and every Thumb MUL. A board heavy in Thumb MUL may notice.