Class SVM_SWITCH


public class SVM_SWITCH extends SVM_Instruction

SVM-INSTRUCTION: SWITCH destab

Runtime Stack
   index →
   - empty

The 'index' is popped of the Runtim stack. Then Program Sequence Control PCS := destab(index)

The 'destab' is an array of Program Addresses.

Link to GitHub: Source File.

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