X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/5509558d05f30339f3393f02f67e8854cbe25a00..fc443a4f61b38236a17ab2928bd90327edc68266:/insn_alu8.v diff --git a/insn_alu8.v b/insn_alu8.v index 6abcb90..161418b 100644 --- a/insn_alu8.v +++ b/insn_alu8.v @@ -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;