Exemple #1
0
 internal Memory(RipRegister rip, int disp, int size = 0)
     : base(OperandType.Memory, size)
 {
     MemoryType   = MemoryType.Rip;
     Displacement = disp;
     Index        = RegisterIndex.Invalid;
 }
Exemple #2
0
 public static Memory ZWordPtr(RipRegister rip, int disp = 0)
 {
     return(Ptr(rip, disp, 64));
 }
Exemple #3
0
 public static Memory TWord(RipRegister rip, int disp = 0)
 {
     return(Ptr(rip, disp, 10));
 }
Exemple #4
0
 public static Memory Byte(RipRegister rip, int disp = 0)
 {
     return(Ptr(rip, disp, 1));
 }
Exemple #5
0
 internal static Memory Ptr(RipRegister rip, int disp = 0, int size = 0)
 {
     return(new Memory(rip, disp, size));
 }