1 `define INSN_LD8M_A 9'b0111x0000 // 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)
13 1: if (opcode[4]) // LD A,x
14 `EXEC_READ(({8'hFF, rdata}))
16 `EXEC_WRITE(({8'hFF, rdata}), `_A)
30 2: if (opcode[4]) `_A <= rdata;