mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-20 19:01:35 +08:00
GP-3525: Fixed 6x09 leax/leay instructions updating zero flag
This commit is contained in:
@@ -1008,12 +1008,16 @@ macro PushEntireState()
|
||||
|
||||
:LEAX EA is op=0x30; EA
|
||||
{
|
||||
X = EA;
|
||||
local tmp = EA;
|
||||
X = tmp;
|
||||
$(Z) = (tmp == 0);
|
||||
}
|
||||
|
||||
:LEAY EA is op=0x31; EA
|
||||
{
|
||||
Y = EA;
|
||||
local tmp = EA;
|
||||
Y = tmp;
|
||||
$(Z) = (tmp == 0);
|
||||
}
|
||||
|
||||
:LEAS EA is op=0x32; EA
|
||||
|
||||
Reference in New Issue
Block a user