Class BDEST


public abstract class BDEST extends Instruction

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 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.