Threaded Mode Interpreter
Algorithms & DataA bytecode tape jumps indirectly among blue A8 and magenta A16 handlers, producing a persistent output glyph.
Self-running — verified CRC 0489.
Source modethread.cmodethread.h in wbniv/llvm-mos-65816
The join under test
GNU C labels-as-values compile the dispatcher to a real indirect jump. Byte add/xor handlers alternate with native 16-bit add/xor/rotate handlers, so every dispatch rejoins control flow whose M-width assumptions differ.
Shape: disassembly contains indirect jmp plus rep/sep width brackets.
Result: host, default, a16, and xy16 all return 0x0489 on MAME and bsnes-jg.
What it shows
The upper tape colors A8 handlers blue and A16 handlers magenta; the gold cursor is the current indirect target. Output bytes from those same handlers form the glyph below.
Compiler stress-test #127, Round 7.