am not smart.... :(

This commit is contained in:
5225225 2020-06-06 20:25:37 +01:00
parent 380fe84a33
commit 89baa2dd3b
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ impl Machine {
}
OP::CMP => {
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::FEQUL, a == b);