1 `define INSN_LD16M_A 9'b0111x1010 // 1111 for ld A, x; 1110 for ld x, A; bit 1 specifies 16m8 or 8m8
3 // If opcode[4], then ld A, x, else ld x, A
4 // If opcode[1], then ld 16m8, else ld 8m8
11 `EXEC_READ(`_PC + 16'h0001)
14 `EXEC_INC_PC // we only hit here if 16m8
15 `EXEC_READ(`_PC + 16'h0001)
17 2: if (opcode[4]) // LD A,x
18 `EXEC_READ(({rdata, tmp}))
20 `EXEC_WRITE(({rdata, tmp}), `_A)
35 3: if (opcode[4]) `_A <= rdata;