v0.2.0 — V30MZ instruction set complete
V30MZ instruction set complete.
The NEC V30MZ core (80186-compatible plus the undocumented SALC, without the V20/V30 REP extensions) executes the full documented 8086/80186 instruction set: ALU + GRP1/GRP3, MOV/XCHG/LEA, INC/DEC, TEST, CBW/CWD, MUL/IMUL/DIV/IDIV, GRP2 shifts/rotates, GRP4/5 indirect CALL/JMP/PUSH, stack ops, string ops + REP, control flow, IN/OUT, and INT/INTO/IRET with the interrupt-delivery sequence.
Register file, flags, 20-bit segmented addressing, CS:IP = FFFF:0000 reset, and full ModR/M decode. 108 tests.
Cycle-accurate timing is deliberately deferred until the master-vs-CPU cycle-unit question is measured.