Exemplo n.º 1
0
 public string visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }
 public abstract string visit(RegisterOffset n);
Exemplo 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
 }
Exemplo n.º 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) + ")";
     }
 }
Exemplo n.º 5
0
 public ASTType visit(RegisterOffset n)
 {
     throw new NotImplementedException();
 }