예제 #1
0
 public string visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }
 public abstract string visit(RegisterOffset n);
예제 #3
0
 public virtual string visit(RegisterOffset n)
 {
     throw new NotImplementedException("RegisterOffset is not implemented yet");
     // Do nothing; leave the implementation to the main class
 }
예제 #4
0
 public override string visit(RegisterOffset n)
 {
     if (n.IntOffset == null)
     {
         return n.LabelOffset + "(" + getRegisterName(n.Register) + ")";
     }
     else {
         return n.IntOffset * 8 + "(" + getRegisterName(n.Register) + ")";
     }
 }
예제 #5
0
 public ASTType visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }