am not smart.... :(
This commit is contained in:
parent
380fe84a33
commit
89baa2dd3b
|
@ -513,7 +513,7 @@ impl Machine {
|
||||||
}
|
}
|
||||||
OP::CMP => {
|
OP::CMP => {
|
||||||
let a = self.read(ci.args[0]);
|
let a = self.read(ci.args[0]);
|
||||||
let b = self.read(ci.args[0]);
|
let b = self.read(ci.args[1]);
|
||||||
|
|
||||||
self.RSTAT.set(Flags::FZERO, a == 0 || b == 0);
|
self.RSTAT.set(Flags::FZERO, a == 0 || b == 0);
|
||||||
self.RSTAT.set(Flags::FEQUL, a == b);
|
self.RSTAT.set(Flags::FEQUL, a == b);
|
||||||
|
|
Loading…
Reference in New Issue