SWITCH is the Codec of the execution Edge statement group. Meaning: multiway branch.

ItemValue
NameSWITCH (spec document BIND SWITCH)
TAG ID0x0F3L
Codec ID0x00000F30
Spec document0x00000000/codecs/0x00000F30/ (DECLARE target 0F30)
Section7 0111 (Edge execution), offset within section C = 19
KindEdge · family: execution, group: statement
TAG WORD0000 1111 0011 LLLL (000K KKKC CCCC LLLL)
Index descriptionMultiway branch. Target, branch count, (value, BLOCK) x branch count, default BLOCK (0 if none)
Hugo pageedge/_index.md

Components

Target, branch count, (value, BLOCK) x branch count, default BLOCK (0 if none).

  • Components are referred to by this document’s LOCAL ID (REF). REF 0 means none. In an expression position, place an expression Edge or a symbol (Edge).
  • Operator codes, type representation, and Payload layout are not yet decided (Edge open problems).

Codec document

The layout is not yet decided. The Codec document holds only DECLARE (target 0F30). FIELDs will be added once the layout is decided.

Related pages

Spec document source text

This is the spec document 0x00000000/codecs/0x00000F30/latest.geul as read with geul show (hex in uppercase).

SPEC-VERSION 0x0001
DOC-ID 0x04260000000000000F3000000000
BODY
#1 DECLARE 0x0F30
#2 BIND #1 "SWITCH"