Class SVM_GETO
java.lang.Object
svm.instruction.SVM_Instruction
svm.instruction.SVM_GETO
SVM-INSTRUCTION: GETO
Runtime Stack
... →
..., next
Push 'next' pointer of an earlier registered save-object.
In case the 'next' being onone, no more pointers and the scan
of the save-object should be terminated.
If more pointers the SAVE-INDEX is updated.
In case the "next" pointer is onone, the pointer is skipped.
See: SVM_INITO and SVM_SETO.
Link to GitHub: Source File.
- Author:
- S-Port: Definition of S-code, Øystein Myhre Andersen
-
Field Summary
Fields inherited from class SVM_Instruction
iADD, iADDREG, iAND, iASSIGN, iCALL, iCALLSYS, iCOMPARE, iCONVERT, iDECO, iDIST, iDIV, iDUP, iENTER, iEQV, iGETO, iGOTO, iIMP, iINCO, iINITO, iJUMP, iJUMPIF, iLINE, iLOAD, iLOADA, iMax, iMULT, iNEG, iNOOP, iNOT, iOR, iPOPK, iPRECALL, iPUSHC, iPUSHLEN, iPUSHR, iREM, iRESTORE, iRETURN, iSAVE, iSETO, iSHIFT, iSTORE, iSUB, iSWITCH, iXOR, opcode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute this SVM instructionstatic SVM_Instructionread(AttributeInputStream inpt) Reads an SVM_GETO instruction from the given input.toString()voidwrite(AttributeOutputStream oupt) Write this SVM instruction to the given output.Methods inherited from class SVM_Instruction
edOpcode, readObject
-
Constructor Details
-
SVM_GETO
public SVM_GETO()Construct a new SVM_GETO instruction
-
-
Method Details
-
execute
public void execute()Description copied from class:SVM_InstructionExecute this SVM instruction- Overrides:
executein classSVM_Instruction
-
toString
-
write
Description copied from class:SVM_InstructionWrite this SVM instruction to the given output.- Overrides:
writein classSVM_Instruction- Parameters:
oupt- the output stream- Throws:
IOException- if IOException occur
-
read
Reads an SVM_GETO instruction from the given input.- Parameters:
inpt- the input stream- Returns:
- the SVM_GETO instruction read
- Throws:
IOException- if IOException occur
-