]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - GBZ80Core.v
Update current opcodes
[fpgaboy.git] / GBZ80Core.v
index af5574fd2892cd056bcb3a2c1d1da16d9f654fe5..3931bddfe007bdfa3584b846bcb0938bd6487e7f 100644 (file)
 `define INSN_VOP_INTR          8'b11111100     // 0xFC is grabbed by the fetch if there is an interrupt pending.
 `define INSN_DI                        8'b11110011
 `define INSN_EI                        8'b11111011
+`define INSN_INCDEC_HL         8'b0011010x
+`define INSN_INCDEC_reg8       8'b00xxx10x
+`define INSN_LD8M_A            8'b111x0000     // 1111 for ld A, x; 1110 for ld x, A; bit 1 specifies 16m8 or 8m8
+`define INSN_LD16M_A           8'b111x1010     // 1111 for ld A, x; 1110 for ld x, A; bit 1 specifies 16m8 or 8m8
+`define INSN_LDBCDE_A          8'b000xx010     // 0000 for BC, 0001 for DE, 1010 for A,(x), 0010 for (x),A
 
 `define INSN_cc_NZ             2'b00
 `define INSN_cc_Z              2'b01
This page took 0.021575 seconds and 4 git commands to generate.