mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 06:02:09 +00:00
Github issue #5767 - 6x09.sinc: Fix COM instruction
The complement macro was erroneously always complementing A register instead of the macro parameter op. This caused errors with the COMB and COM OP1 instructions. Closes #5767.
This commit is contained in:
parent
7360b14db0
commit
387c283e89
@ -430,7 +430,7 @@ macro complement(op)
|
||||
{
|
||||
$(V) = 0;
|
||||
$(C) = 1;
|
||||
A = ~A;
|
||||
op = ~op;
|
||||
setNZFlags(op);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user