avrora.core.isdl
Class OperandDecl
java.lang.Object
avrora.core.isdl.OperandDecl
- Direct Known Subclasses:
- OperandDecl.Immediate, OperandDecl.RegisterSet
- public abstract class OperandDecl
- extends java.lang.Object
The OperandDecl
class represents the declaration of a set of values (or registers) that can
serve as an operand to a particular instruction. For example, an operand declaration might be the set of
all general purpose registers, or it might be the set of high general purpose registers, or the set of
address registers, etc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final Token name
kind
public final Token kind
bitSize
public final int bitSize
OperandDecl
protected OperandDecl(Token n,
Token b,
Token k)
isRegister
public boolean isRegister()
isImmediate
public boolean isImmediate()