mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Update 8085.slaspec with "XRA M" or "XRA HL"
This adds the instruction "XRA M" in addition to "XRA r", which already exists. "XRA M" is the Intel format, but the code being added will keep the Ghidra format of "XRA HL". Intel's MCS-80/85(tm) Family User's Manual from October 1979 indicates "XRA M" is a 1-byte instruction with value 0xAE.
This commit is contained in:
parent
bda4e1dc19
commit
6201b9bcdf
@ -349,6 +349,14 @@ cc: "M" is bits3_3=0x7 { export S_flag;
|
||||
setResultFlags(A);
|
||||
}
|
||||
|
||||
:XRA (HL) is op0_8=0xae & HL {
|
||||
AC_flag = 0;
|
||||
CY_flag = 0;
|
||||
P_flag = 0;
|
||||
A = A ^ *:1 HL;
|
||||
setResultFlags(A);
|
||||
}
|
||||
|
||||
:XRI imm8 is op0_8=0xee; imm8 {
|
||||
AC_flag = 0;
|
||||
CY_flag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user