V1/man/man3/switch.3

        11/3/71                                                 SWITCH (III)

NAME              switch -- switch on value

SYNOPSIS          (switch value in r0)
                  jsr r5,switch; swtab
                  (not--found return)

                               swtab: val1; lab1;

                  valn; labn
                  ..; 0

DESCRIPTION       switch compares the value of r0 against each of the vali; if a
                  match is found, control is transferred to the corresponding
                  lab. (after popping the stack once). If no match has been found
                  by the time a null labi occurs, switch returns.

FILES             kept in /etc/liba.a

SEE ALSO

DIAGNOSTICS

BUGS

OWNER             ken, dmr