SuperH: Fix trapa to use call instead of goto

Fix by waterfuell
This commit is contained in:
VGKintsugi
2021-11-06 23:43:54 -04:00
committed by GitHub
parent 766ff7f72e
commit 81ef5ee065

View File

@@ -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)