public string visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }
 public abstract string visit(RegisterOffset n);
 public virtual string visit(RegisterOffset n)
 {
     throw new NotImplementedException("RegisterOffset is not implemented yet");
     // Do nothing; leave the implementation to the main class
 }
Exemple #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) + ")";
     }
 }
 public ASTType visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }