public static void Str(ArmEmitterContext context) { OpCodeMem op = (OpCodeMem)context.CurrOp; Operand address = GetAddress(context); InstEmitMemoryHelper.EmitStore(context, address, op.Rt, op.Size); EmitWBackIfNeeded(context, address); }
private static void EmitLdr(ArmEmitterContext context, bool signed) { OpCodeMem op = (OpCodeMem)context.CurrOp; Operand address = GetAddress(context); if (signed && op.Extend64) { EmitLoadSx64(context, address, op.Rt, op.Size); } else if (signed) { EmitLoadSx32(context, address, op.Rt, op.Size); } else { EmitLoadZx(context, address, op.Rt, op.Size); } EmitWBackIfNeeded(context, address); }