Skip to content

Commit

Permalink
GP-3525: Fixed 6x09 leax/leay instructions updating zero flag
Browse files Browse the repository at this point in the history
  • Loading branch information
GhidorahRex committed Jun 27, 2023
1 parent be95714 commit 52d4aaf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Ghidra/Processors/MC6800/data/languages/6x09.sinc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52d4aaf

Please sign in to comment.