|
Simple Machine | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectISA.AbstractISA
public abstract class AbstractISA
| Nested Class Summary | |
|---|---|
protected class |
AbstractISA.CompoundField
Compound field combines one or more other fields. |
protected class |
AbstractISA.ConstantField
A field that is always assigned a constant value. |
protected class |
AbstractISA.DictonaryField
For register names (etc.), field name comes from dictonary lookup. |
protected static interface |
AbstractISA.InsLayout
Describes the in-memory layout of instructions. |
protected class |
AbstractISA.LabelableField
Simple field whose value can be represted by a label. |
protected class |
AbstractISA.OpCodeField
Instruction op code. |
protected class |
AbstractISA.PCRelativeField
PC-relative address field. |
protected class |
AbstractISA.ScaledField
For index addressing mode, this field is scaled by index scaling factor in instruction. |
protected class |
AbstractISA.ShiftField
Shift value. |
protected class |
AbstractISA.ShiftInsField
Shift instruction. |
protected class |
AbstractISA.ShiftOpCodeField
|
protected class |
AbstractISA.SimpleField
Simple instruction field. |
| Constructor Summary | |
|---|---|
AbstractISA(java.lang.String aName,
AbstractAssembler anAssembler)
|
|
| Method Summary | |
|---|---|
protected void |
define(int opCode,
AbstractISA.InsLayout layout)
Called by subclass to define instructions that are part of its ISA. |
java.lang.String |
getName()
Name of this ISA. |
ISA.AbstractISA.InstructionDef |
getPlaceholderInstructionDef()
|
BitString |
getPlaceholderInstructionValue()
|
protected void |
setPlaceholderInstruction(int opCode)
Called by subclass to specify an instruction to use a a placehold (nop). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractISA(java.lang.String aName,
AbstractAssembler anAssembler)
| Method Detail |
|---|
public java.lang.String getName()
protected void define(int opCode,
AbstractISA.InsLayout layout)
opCode - opCode number for this instructionlayout - layout description describing how bits of instruction are to be interpretedprotected void setPlaceholderInstruction(int opCode)
public ISA.AbstractISA.InstructionDef getPlaceholderInstructionDef()
public BitString getPlaceholderInstructionValue()
|
Simple Machine | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||