X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/41341eb3bab6479dc763afbe90c7c31a01d6b60f..e4fd7c1673a5a587a2eb8d4c2b8e22d921b949b9:/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