|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.tools.AutoModel.Decode
public static final class AutoModel.Decode
The Decode class describes a field / value pair used to decode an instruction. Decode can use one or more such fields per instruction.
| Field Summary | |
|---|---|
long |
mask
The decode mask |
long |
sig
The decode signature |
| Constructor Summary | |
|---|---|
AutoModel.Decode(AutoModel.Field field,
long value)
Constructor |
|
| Method Summary | |
|---|---|
AutoModel.Decode |
add(AutoModel.Field field,
int value)
This method returns a decoder with new values added. |
static AutoModel.Decode |
primary(AutoModel.Field field,
int value)
This factory method returns a decoder with new values added. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long mask
public long sig
| Constructor Detail |
|---|
public AutoModel.Decode(AutoModel.Field field,
long value)
field - The field to be decoded.value - the value of the decode field.| Method Detail |
|---|
public static AutoModel.Decode primary(AutoModel.Field field,
int value)
field - The field to be decoded.value - the value of the decode field.
public AutoModel.Decode add(AutoModel.Field field,
int value)
field - The field to be decoded.value - the value of the decode field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||