|
|||||||||
| 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
edu.cornell.cs.sam.core.instructions.SAM_JUMP
public class SAM_JUMP
Jumps to the opcode address
| 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 | |
|---|---|
SAM_JUMP()
|
|
| Method Summary | |
|---|---|
void |
exec()
Executes the instruction |
| Methods inherited from class edu.cornell.cs.sam.core.instructions.SamAddressInstruction |
|---|
toString |
| Methods inherited from class edu.cornell.cs.sam.core.instructions.SamIntInstruction |
|---|
getOperand, setOperand |
| Methods inherited from class edu.cornell.cs.sam.core.instructions.SamInstruction |
|---|
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 SAM_JUMP()
| Method Detail |
|---|
public void exec()
throws SystemException
Instruction
exec in interface Instructionexec in class SamInstructionSystemException - if there is a runtime error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||