Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Nested Class Summary
`static class` | `OperandDecl.Immediate`
`static class` | `OperandDecl.RegisterEncoding`
`static class` | `OperandDecl.RegisterSet`

Field Summary
`int` | `bitSize`
`Token` | `kind`
`Token` | `name`

Constructor Summary
`protected` | `OperandDecl(Token n, Token b, Token k)`

Method Summary
`boolean` | `isImmediate()`
`boolean` | `isRegister()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### name

    public final Token name

### kind

    public final Token kind

### bitSize

    public final int bitSize

Constructor Detail

### OperandDecl

    protected OperandDecl(Token n,
                          Token b,
                          Token k)

Method Detail

### isRegister

    public boolean isRegister()

### isImmediate

    public boolean isImmediate()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD