Beispiel #1
0
 public MEM(REG reg, MemoryStructureType type = MemoryStructureType.DWord)
 {
     if (!IsValidRegistry(reg))
     {
         throw new ArgumentException();
     }
     _register = reg;
     _type     = type;
 }
Beispiel #2
0
 private static bool IsValidRegistry(REG reg) => reg.IsValidExpressionForMemory();