X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/41341eb3bab6479dc763afbe90c7c31a01d6b60f..84dd189a0747b9528b80d2596856b41b1aa38630:/core/insn_add_sp_imm8.v?ds=sidebyside diff --git a/core/insn_add_sp_imm8.v b/core/insn_add_sp_imm8.v index 06d58cc..3350bdc 100644 --- a/core/insn_add_sp_imm8.v +++ b/core/insn_add_sp_imm8.v @@ -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