|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cornell.cs.sam.core.instructions.SamInstruction
edu.cornell.cs.sam.core.instructions.SamIntInstruction
edu.cornell.cs.sam.core.instructions.SamAddressInstruction
public abstract class SamAddressInstruction
All instructions with a program address operand derive from this class.
| Field Summary |
|---|
| Fields inherited from class edu.cornell.cs.sam.core.instructions.SamIntInstruction |
|---|
op |
| Fields inherited from class edu.cornell.cs.sam.core.instructions.SamInstruction |
|---|
cpu, FBR, HALT, mem, name, PC, prog, SP, sys, video |
| Constructor Summary | |
|---|---|
SamAddressInstruction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Prints out the text that represents this SaM instruction |
| Methods inherited from class edu.cornell.cs.sam.core.instructions.SamIntInstruction |
|---|
getOperand, setOperand |
| Methods inherited from class edu.cornell.cs.sam.core.instructions.SamInstruction |
|---|
exec, getName, getProgram, getSystem, setProgram, setSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SamAddressInstruction()
| Method Detail |
|---|
public java.lang.String toString()
Instruction
toString in interface InstructiontoString in class SamIntInstruction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||