Class BDEST
java.lang.Object
bec.instruction.Instruction
bec.instruction.BDEST
S-INSTRUCTION: BDEST.
backward_destination ::= bdest destination:newindex check stack empty;
The destination must be undefined, otherwise: error.
The destination is defined to refer to the current program point.
Link to GitHub: Source File.
- Author:
- S-Port: Definition of S-code, Øystein Myhre Andersen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidofScode()Scans the remaining S-Code (if any) belonging to this instruction.Methods inherited from class Instruction
inInstruction, inInstructions
-
Constructor Details
-
BDEST
public BDEST()Default Constructor
-
-
Method Details
-
ofScode
public static void ofScode()Scans the remaining S-Code (if any) belonging to this instruction. Perform the specified stack operations (which may result in code generation). Finally: Update the destination table.
-