|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.tools.Decode
public class Decode
This class describes an instruction decode for the FastModel Instruction class.
Copyright (c) 2008 Cmpware, Inc. All Rights Reserved.
| Constructor Summary | |
|---|---|
Decode()
Constructor |
|
Decode(int startBit,
int bits,
long a)
Constructor |
|
| Method Summary | |
|---|---|
Decode |
add(int startBit,
int bits,
long a)
This method is used to define the opcode and other bits used to decode an instruction. |
long |
getDecodeMask()
This method returns the decode mask. |
long |
getDecodeSig()
This method returns the decode signature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Decode()
public Decode(int startBit,
int bits,
long a)
startBit - the start bit of the field.bits - the number of bits in the field.a - the value of the decode field.| Method Detail |
|---|
public final Decode add(int startBit,
int bits,
long a)
startBit - the start bit of the field.bits - the number of bits in the field.a - the value of the decode bits
public long getDecodeMask()
public long getDecodeSig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||