X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/e7fe9dc201afb96f401fb2d3cf5aa19aa7e8e796..62316b58608c6d4333cc301b9906e13d143ba36e:/core/insn_pop_reg.v diff --git a/core/insn_pop_reg.v b/core/insn_pop_reg.v index 55d12ec..dbe601c 100644 --- a/core/insn_pop_reg.v +++ b/core/insn_pop_reg.v @@ -19,7 +19,7 @@ 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;