From: Joshua Wise Date: Sat, 10 May 2008 09:18:25 +0000 (-0400) Subject: Fix add sp, imm8 *sweatdrop* X-Git-Url: http://git.joshuawise.com/fpgaboy.git/commitdiff_plain/9e1c03b633deae6254b6df312a48eba6047e266e?ds=inline Fix add sp, imm8 *sweatdrop* --- 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