mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
SuperH: Fix trapa to use call instead of goto
Fix by waterfuell
This commit is contained in:
@@ -1979,14 +1979,13 @@ define pcodeop Sleep_Standby;
|
||||
|
||||
:trapa imm_00_07 is opcode_08_15=0b11000011 & imm_00_07
|
||||
{
|
||||
r15 = r15 -4;
|
||||
r15 = r15 - 4;
|
||||
*r15 = sr;
|
||||
|
||||
r15 = r15- 4;
|
||||
r15 = r15 - 4;
|
||||
*r15 = pc + 2;
|
||||
|
||||
pc = *(vbr + (imm_00_07 * 4));
|
||||
goto [pc];
|
||||
call [vbr + (imm_00_07 * 4)];
|
||||
}
|
||||
|
||||
@if defined(FPU)
|
||||
|
||||
Reference in New Issue
Block a user