Ghidra is a software reverse engineering (SRE) framework
Fix 6502 PLP opcode.
Alessandro Gatti7ee81b3e76b4
diff --git a/Ghidra/Processors/6502/data/languages/6502.slaspec b/Ghidra/Processors/6502/data/languages/6502.slaspecindex df48cf221b..2218fd65cd 100644--- a/Ghidra/Processors/6502/data/languages/6502.slaspec+++ b/Ghidra/Processors/6502/data/languages/6502.slaspec@@ -31,6 +31,7 @@ define token data (16);macro popSR() {+ SP = SP + 1;local ccr = *:1 SP;N = ccr[7,1];V = ccr[6,1];@@ -399,10 +400,10 @@ ADDRI: imm16 is imm16 { tmp:2 = imm16; export *:2 tmp; }OP2 = tmp;resultFlags(tmp);}+:RTI is op=0x40{popSR();- SP = SP+1;SP = SP+1;tmp:2 = *:2 SP;