Fix RET Xn translation (#1242)

This commit is contained in:
Ficture Seven authored and GitHub committed 2020-05-14 14:50:35 +10:00
1 parent 96c7988671
commit 430a48338b
1 file changed
+3 -1
+3 -1
View File
@@ -71,7 +71,9 @@ namespace ARMeilleure.Instructions
public static void Ret(ArmEmitterContext context)
{
context.Return(GetIntOrZR(context, RegisterAlias.Lr));
OpCodeBReg op = (OpCodeBReg)context.CurrOp;
context.Return(GetIntOrZR(context, op.Rn));
}
public static void Tbnz(ArmEmitterContext context) => EmitTb(context, onNotZero: true);