mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-09-20 09:31:47 +00:00
Github issue #5656 - 6x09.sinc: Fix logicalShiftRight
The logicalShiftRight macro had incorrect carry flag handling. Closes #5656 Reported-by: @pjanetzek
This commit is contained in:
parent
7360b14db0
commit
e622f3a845
|
@ -438,7 +438,7 @@ macro complement(op)
|
|||
# P-code INT_SRIGHT.
|
||||
macro arithmeticShiftRight(op)
|
||||
{
|
||||
$(C) = op & 1;
|
||||
$(C) = ((op & 1) != 0);
|
||||
op = (op s>> 1);
|
||||
setNZFlags(op);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user