Exemple #1
0
 internal Memory(GpRegister @base, XmmRegister index, int shift, int disp, int size = 0)
     : base(OperandType.Memory, size)
 {
     Id           = @base.Index;
     MemoryType   = MemoryType.BaseIndex;
     Displacement = disp;
     Index        = index.Index;
     Flags        = GetGpdFlags(@base) + (Constants.X86.MemVSibXmm << Constants.X86.MemVSibIndex) + (shift << Constants.X86.MemShiftIndex);
 }
Exemple #2
0
 public static Memory ZWordPtrAbs(IntPtr pAbs, XmmRegister index, int shift = 0, int disp = 0)
 {
     return(PtrAbs(pAbs, index, shift, disp, 64));
 }
Exemple #3
0
 public static Memory ZWordPtr(GpRegister @base, XmmRegister index, int shift = 0, int disp = 0)
 {
     return(Ptr(@base, index, shift, disp, 64));
 }
Exemple #4
0
 internal static Memory Ptr(GpRegister @base, XmmRegister index, int shift = 0, int disp = 0, int size = 0)
 {
     return(new Memory(@base, index, shift, disp, size));
 }