The decoder had an early return when mask lacked DISASM, causing op->type/jump/eob to never be set during analysis passes. Removed the early return so all decode paths execute regardless of requested mask. Added op->eob = true for: - Unconditional JUMP (Type 10a, 36) - Unconditional indirect JUMP (Type 19) - RTS/RTI (Type 20) Added op->fail for: - Conditional JUMP (Type 10) - Conditional indirect jump (Type 19) This fixes function analysis (af), basic block detection (afb), and control flow graphing (agf/VV). Tested: isa_test.bin now shows 5 basic blocks with correct control flow edges.
32 KiB
32 KiB