Class SVM_INITO


public class SVM_INITO extends SVM_Instruction

SVM-INSTRUCTION: INITO

Runtime Stack
   ..., oaddr →
   ...

The oaddr of a save-object is popped off the Runtime stack. It points to the first value after the Object head, and is reduced and saved in the SAVE-OBJECT pointer.

     SAVE-OBJECT ---------->.=====================.
                            |                     |
                            |     Object head     |
                            |                     |
     TOS oaddr ------------>|=====================|
                            |                     |
           NEXT-------------|->.================. |
                            |  |     oaddr      | |
                            |  '================' |
                            |                     |
                            '====================='

See: SVM_GETO and SVM_SETO. See also S-Port - Definition of S-code - sect. 7. INTERMEDIATE RESULTS.

Link to GitHub: Source File.

Author:
S-Port: Definition of S-code, Øystein Myhre Andersen
  • Field Details

    • SAVE_OBJECT

      private static ObjectAddress SAVE_OBJECT
      The object address to the SAVE_OBJECT
    • SAVE_INDEX

      private static int SAVE_INDEX
      The SAVE_INDEX so far
    • SAVE_LENGTH

      private static int SAVE_LENGTH
      The SAVE_LENGTH
  • Constructor Details

    • SVM_INITO

      public SVM_INITO()
      Construct a new SVM_INITO instruction
  • Method Details