X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/eaec80f24007825c7abba2affd76f74d520ce4cd..refs/heads/master:/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;