]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - core/insn_add_sp_imm8.v
Fix some carry-related bugs and a typo in insn_alu_a.
[fpgaboy.git] / core / insn_add_sp_imm8.v
index 06d58cc7e3e1abf29346541c136183271e9bb723..3350bdc5f18c3bb07f082f934799e5dd9dd651d3 100644 (file)
@@ -20,7 +20,7 @@
 `ifdef WRITEBACK
        `INSN_ADD_SP_IMM8: begin
                case (cycle)
-               2:      `_HL <= `_SP + {rdata[7] ? 8'hFF : 8'h00, rdata};
+               2:      `_SP <= `_SP + {rdata[7] ? 8'hFF : 8'h00, rdata};
                endcase
        end
 `endif
This page took 0.027121 seconds and 4 git commands to generate.