From 9e1c03b633deae6254b6df312a48eba6047e266e Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 10 May 2008 05:18:25 -0400 Subject: [PATCH] Fix add sp, imm8 *sweatdrop* --- core/insn_add_sp_imm8.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0