cant pop to f
This commit is contained in:
parent
ba8b03693f
commit
eb85d3aa25
|
@ -653,7 +653,7 @@ impl CPU {
|
||||||
addr.set_low(self.ld_immediate_byte());
|
addr.set_low(self.ld_immediate_byte());
|
||||||
self.reg.set_8(Reg8::A, self.memory.get(addr));
|
self.reg.set_8(Reg8::A, self.memory.get(addr));
|
||||||
}
|
}
|
||||||
0xF1 => self.reg.af = self.pop_word(),
|
0xF1 => self.reg.af = self.pop_word() & 0xF0,
|
||||||
0xF2 => {
|
0xF2 => {
|
||||||
let mut addr: u16 = 0x0;
|
let mut addr: u16 = 0x0;
|
||||||
addr.set_high(0xFF);
|
addr.set_high(0xFF);
|
||||||
|
|
Loading…
Reference in a new issue