mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 03:09:36 +08:00
Merge remote-tracking branch 'origin/GP-1115_ghidorahrex_PR-3095_agatti_6502-bit-instruction-fix' into Ghidra_10.1
This commit is contained in:
@@ -168,8 +168,10 @@ ADDRI: imm16 is imm16 { tmp:2 = imm16; export *:2 tmp; }
|
||||
|
||||
:BIT OP2 is (op=0x24 | op=0x2C) ... & OP2
|
||||
{
|
||||
N = (OP2 & 0x80) == 0x80;
|
||||
V = (OP2 & 0x40) == 0x40;
|
||||
local value = A & OP2;
|
||||
resultFlags(value);
|
||||
Z = (value == 0);
|
||||
}
|
||||
|
||||
:BMI REL is op=0x30; REL
|
||||
|
||||
Reference in New Issue
Block a user