Пример #1
0
 public static Node OffsetAddress(this VirtualRegister baseAddr, int offset)
 {
     return(new ArithmeticBinaryOperation(
                AST.ArithmeticOperationType.Addition,
                new RegisterRead(baseAddr),
                new IntegerImmediateValue(offset * 8)));
 }
Пример #2
0
 public Pop(VirtualRegister register)
 {
     this.Register = register;
 }
Пример #3
0
 public RegisterWrite(VirtualRegister register, Node value)
 {
     this.Register = register;
     this.Value    = value;
 }
Пример #4
0
 public RegisterRead(VirtualRegister register)
 {
     this.Register = register;
 }