mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ macro complement(op)
|
|||
{
|
||||
$(V) = 0;
|
||||
$(C) = 1;
|
||||
A = ~A;
|
||||
op = ~op;
|
||||
setNZFlags(op);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue