GP-3525: Fixed 6x09 leax/leay instructions updating zero flag

This commit is contained in:
ghidorahrex
2023-06-27 14:03:14 -04:00
parent be95714f86
commit 52d4aaf285

View File

@@ -1008,12 +1008,16 @@ macro PushEntireState()
:LEAX EA is op=0x30; EA :LEAX EA is op=0x30; EA
{ {
X = EA; local tmp = EA;
X = tmp;
$(Z) = (tmp == 0);
} }
:LEAY EA is op=0x31; EA :LEAY EA is op=0x31; EA
{ {
Y = EA; local tmp = EA;
Y = tmp;
$(Z) = (tmp == 0);
} }
:LEAS EA is op=0x32; EA :LEAS EA is op=0x32; EA