mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-11 02:29:50 +00:00
Correct a couple of LR35902 issues.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
a7d9cb0116
commit
2b29c3fe64
@ -616,15 +616,19 @@ void EightBit::LR35902::executeOther(int x, int y, int z, int p, int q) {
|
|||||||
switch (y) {
|
switch (y) {
|
||||||
case 0:
|
case 0:
|
||||||
rlc(A());
|
rlc(A());
|
||||||
|
clearFlag(F(), ZF);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
rrc(A());
|
rrc(A());
|
||||||
|
clearFlag(F(), ZF);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
rl(A());
|
rl(A());
|
||||||
|
clearFlag(F(), ZF);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
rr(A());
|
rr(A());
|
||||||
|
clearFlag(F(), ZF);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
daa();
|
daa();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user