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 EncodingDecl

    java.lang.Object
      avrora.core.isdl.EncodingDecl

Direct Known Subclasses:
  EncodingDecl.Derived

public class EncodingDecl
extends java.lang.Object

The `EncodingDecl` class represents the encoding of an instruction in machine code, describing how to encode the mnemonic and operands into binary and vice versa.

Nested Class Summary
`static class` | `EncodingDecl.Derived`

Field Summary
`int` | `bitWidth`
`java.util.List` | `fields`
`Token` | `name`

Constructor Summary
`EncodingDecl(Token n, java.util.List f)`

Method Summary
`int` | `getBitWidth()`

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

### fields

    public final java.util.List fields

### bitWidth

    public int bitWidth

Constructor Detail

### EncodingDecl

    public EncodingDecl(Token n,
                        java.util.List f)

Method Detail

### getBitWidth

    public int getBitWidth()

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