]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
Fix add sp, imm8 *sweatdrop*
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 May 2008 09:18:25 +0000 (05:18 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 May 2008 09:18:25 +0000 (05:18 -0400)
core/insn_add_sp_imm8.v

index 06d58cc7e3e1abf29346541c136183271e9bb723..3350bdc5f18c3bb07f082f934799e5dd9dd651d3 100644 (file)
@@ -20,7 +20,7 @@
 `ifdef WRITEBACK
        `INSN_ADD_SP_IMM8: begin
                case (cycle)
 `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
                endcase
        end
 `endif
This page took 0.029074 seconds and 4 git commands to generate.