Beispiel #1
0
 internal Memory(GpVariable @base, YmmVariable index, int shift, int disp, int size = 0)
     : base(OperandType.Memory, size)
 {
     Id           = @base.Id;
     MemoryType   = MemoryType.Label;
     Displacement = disp;
     Index        = index.Id;
     Flags        = GetGpdFlags(@base) + (Constants.X86.MemVSibYmm << Constants.X86.MemVSibIndex) + (shift << Constants.X86.MemShiftIndex);
 }
Beispiel #2
0
 public static Memory QWord(GpVariable @base, YmmVariable index, int shift = 0, int disp = 0)
 {
     return(Ptr(@base, index, shift, disp, 8));
 }
Beispiel #3
0
 public static Memory DWordAbs(IntPtr pAbs, YmmVariable index, int shift = 0, int disp = 0)
 {
     return(PtrAbs(pAbs, (index), shift, disp, 4));
 }
Beispiel #4
0
 public static Memory Ptr(GpVariable @base, YmmVariable index, int shift = 0, int disp = 0, int size = 0)
 {
     return(new Memory(@base, index, shift, disp, size));
 }