mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 18:26:53 +08:00
GP-5659: Fixed z80 sub instruction semantics
This commit is contained in:
@@ -847,7 +847,7 @@ cc2: "C" is bits3_3=0x7 { c:1 = $(C_flag); export c; }
|
|||||||
subtractionFlags(a_temp, r_temp);
|
subtractionFlags(a_temp, r_temp);
|
||||||
a_temp = a_temp - r_temp;
|
a_temp = a_temp - r_temp;
|
||||||
setResultFlags(a_temp);
|
setResultFlags(a_temp);
|
||||||
a_temp = A;
|
A = a_temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
:SUB imm8 is op0_8=0xd6; imm8 {
|
:SUB imm8 is op0_8=0xd6; imm8 {
|
||||||
|
|||||||
Reference in New Issue
Block a user