]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - insn_alu8.v
Rework it all to use the new macros.
[fpgaboy.git] / insn_alu8.v
index 6abcb90befbf1bc0421739c5c97c223bfbad7e47..161418b85c284368e69e882fe8cd6966e099a059 100644 (file)
@@ -1,10 +1,10 @@
 `ifdef EXECUTE
        `INSN_ALU8: begin
                if ((opcode[2:0] == `INSN_reg_dHL) && (cycle == 0))
-                       `EXEC_READ(_HL);
+                       `EXEC_READ(`_HL)
                else begin
-                       `EXEC_NEWCYCLE;
-                       `EXEC_INC_PC;
+                       `EXEC_NEWCYCLE
+                       `EXEC_INC_PC
                        case (opcode[2:0])
                        `INSN_reg_A:    tmp <= `_A;
                        `INSN_reg_B:    tmp <= `_B;
This page took 0.024224 seconds and 4 git commands to generate.