Class SVM_PRECALL
java.lang.Object
svm.instruction.SVM_Instruction
svm.instruction.SVM_PRECALL
SVM-INSTRUCTION: PRECALL rutIdent nParSlots exportSize importSize
Runtime Stack
..., arg1, arg2, ... , arg'n →
..., value1, value2, ... , value'size
Link to GitHub: Source File.
- Author:
- S-Port: Definition of S-code, Øystein Myhre Andersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe Export sizeprivate final intThe Import sizeprivate final intThe number of Parameter Slotsprivate final StringThe Routine identFields 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
ConstructorsConstructorDescriptionSVM_PRECALL(String rutIdent, int nParSlots, int exportSize, int importSize) Construct a new SVM_PRECALL instruction -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute this SVM instructionstatic SVM_PRECALLread(AttributeInputStream inpt) Reads an SVM_PRECALL 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
-
Field Details
-
rutIdent
The Routine ident -
nParSlots
private final int nParSlotsThe number of Parameter Slots -
exportSize
private final int exportSizeThe Export size -
importSize
private final int importSizeThe Import size
-
-
Constructor Details
-
SVM_PRECALL
Construct a new SVM_PRECALL instruction- Parameters:
rutIdent- the Routine identnParSlots- the number of Parameter SlotsexportSize- the Export sizeimportSize- the Import size
-
-
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_PRECALL instruction from the given input.- Parameters:
inpt- the input stream- Returns:
- the SVM_PRECALL instruction read
- Throws:
IOException- if IOException occur
-