]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - GBZ80Core.v
Add ld (bc/de),a, ld a,(bc/de)
[fpgaboy.git] / GBZ80Core.v
index 3bbaee8e24a92f85ebdba26d750a17bc62db6077..3931bddfe007bdfa3584b846bcb0938bd6487e7f 100644 (file)
@@ -71,7 +71,9 @@
 `define INSN_EI                        8'b11111011
 `define INSN_INCDEC_HL         8'b0011010x
 `define INSN_INCDEC_reg8       8'b00xxx10x
-`define INSN_LDM_A             8'b111xx000     // 1111 for ld A, x; 1110 for ld x, A; bit 1 specifies 16m8 or 8m8
+`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.022955 seconds and 4 git commands to generate.