]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - core/insn_pop_reg.v
and verified
[fpgaboy.git] / core / insn_pop_reg.v
index 55d12ece5331ceb8f0e4e82918c3ab4029ce2c08..dbe601c363888955dfb45d2b27a741ec0c48a138 100644 (file)
@@ -19,7 +19,7 @@
                0:      begin end
                1:      begin
                                case (opcode[5:4])
                0:      begin end
                1:      begin
                                case (opcode[5:4])
-                               `INSN_stack_AF: `_F <= rdata;
+                               `INSN_stack_AF: `_F <= rdata & 8'hF0;
                                `INSN_stack_BC: `_C <= rdata;
                                `INSN_stack_DE: `_E <= rdata;
                                `INSN_stack_HL: `_L <= rdata;
                                `INSN_stack_BC: `_C <= rdata;
                                `INSN_stack_DE: `_E <= rdata;
                                `INSN_stack_HL: `_L <= rdata;
This page took 0.027571 seconds and 4 git commands to generate.