STRE Prototype SGLB Misc/Class Reference CLAS 354315 ESBR SORD 2 parameters LITO 3 /e,5 bits,7bits,6 bits,8 bits;Data bits LITO 0 /e,one,two;Stop bits LITO 0 /e,none,odd,even;Parity LITO 3 /e,57600,38400,19200,9600,4800,2400,1200;Baud rate LITO 0 /e,RS232,RS422;Type LITO 0 channel ref: 0=channel A, 1=channel B ESBR ESTR STRE SGLB General/Initialize CMNT Expects: É ¥ inst/É LITO 2 É ¥ 2/inst/É PRIM S_tree/Entry to stack É ¥ channel/type/baud/parity/stop/data/inst/É ASIO SIO/init_channel É ¥ inst/É PRIM Heap/Store self ESBR SGLB Misc/Superclass Reference CLAS 354008 ESBR SGLB Utility/Trigger special method invoked from handler CMNT Expects: É ¥ inst/slot/node/data/É PRIM Stack/Rotate up É ¥ slot/node/inst/data/É PRIM Stack/Over É ¥ node/slot/node/inst/data/É BRFL branch if local exception CMNT É ¥ error_code/0/inst/state/É PRIM Stack/Xdrop É ¥ error_code/inst/state/É STRE search on error SORD 4 Fragment PRIM Stack/Xdrop É ¥ inst/É LIST É ¥ string/inst/É STRG Fragment É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 8 Overrun PRIM Stack/Xdrop É ¥ inst/É LIST É ¥ string/inst/É STRG Overrun É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 16 CRC error PRIM Stack/Xdrop É ¥ inst/É LIST É ¥ string/inst/É STRG CRC error É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 32 Address match PRIM Stack/Xdrop É ¥ inst/É LIST É ¥ string/inst/É STRG Address Match É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 64 reverse link transition PRIM Stack/Swap É ¥ state/inst/É STRE SORD 0 LIST É ¥ string/inst/É STRG Reverse Transition (both OK) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 1 LIST É ¥ string/inst/É STRG Reverse Transition (forward fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 2 LIST É ¥ string/inst/É STRG Reverse Transition (reverse fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 3 LIST É ¥ string/inst/É STRG Reverse Transition (both fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR ESTR ESBR SORD 128 forward link transition PRIM Stack/Swap É ¥ state/inst/É STRE SORD 0 LIST É ¥ string/inst/É STRG Forward Transition (both OK) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 1 LIST É ¥ string/inst/É STRG Forward Transition (forward fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 2 LIST É ¥ string/inst/É STRG Forward Transition (reverse fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR SORD 3 LIST É ¥ string/inst/É STRG Forward Transition (both fail) É ¥ string/inst/É ELST LCAL PrLocal ESBR ESTR ESBR SORD 256 general module software failure PRIM Stack/Xdrop É ¥ inst/É LIST É ¥ string/inst/É STRG General Module Software Failure É ¥ string/inst/É ELST LCAL PrLocal ESBR ESTR BRTR CMNT É ¥ 32/node/inst/state/É PRIM Stack/Drop É ¥ node/inst/state/É PRIM Stack/Rotate down É ¥ state/node/inst/É PRIM Stack/Duplicate É ¥ state/state/node/inst/É BRFL branch if state is zero PRIM Stack/Drop É ¥ node/inst/É LIST É ¥ string/node/inst/É STRG Initialization É ¥ string/node/inst/É ELST LCAL PrGen BRTR STRE state s-tree SORD 0 PRIM Stack/Drop É ¥ node/inst/É LIST É ¥ string/node/inst/É STRG ILLEGAL NEP STATE RECEIVED É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 1 LIST É ¥ string/node/inst/É STRG Halted É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 2 LIST É ¥ string/node/inst/É STRG Missing or Bad Configuration É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 3 LIST É ¥ string/node/inst/É STRG Crashed É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 4 LIST É ¥ string/node/inst/É STRG OS Error É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 5 LIST É ¥ string/node/inst/É STRG Self-Test Failure É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 6 LIST É ¥ string/node/inst/É STRG Shutdown É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 7 LIST É ¥ string/node/inst/É STRG OK É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 8 LIST É ¥ string/node/inst/É STRG Network Warning É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 9 LIST É ¥ string/node/inst/É STRG Network Failure É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 10 LIST É ¥ string/node/inst/É STRG Checking Network É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 11 LIST É ¥ string/node/inst/É STRG Peer Halted É ¥ string/node/inst/É ELST LCAL PrGen ESBR SORD 12 LIST É ¥ string/node/inst/É STRG Duplicate Address Detected É ¥ string/node/inst/É ELST LCAL PrGen ESBR ESTR ESBR ESTR LDEF PrLocal CMNT Prints out an error report for a local event CMNT Input: É ¥ string/inst/É CMNT Output: É ¥ É LCAL PrTime É ¥ string/inst/É LIST É ¥ string2/string/inst/É STRG (local) ELST LCAL OutStr É ¥ string/inst/É LCAL OutStr É ¥ inst/É LCAL CRLF É ¥ inst/É PRIM Heap/Store self EDEF LDEF PrGen CMNT Prints out an error report for an NEP event CMNT Input: É ¥ string/node/inst/É CMNT Output: É ¥ É LCAL PrTime É ¥ string/node/inst/É PRIM Stack/Swap É ¥ node/string/inst/É LIST É ¥ string/node/string/inst/É STRG addr ELST LCAL OutStr É ¥ node/string/inst/É LCAL OutOrd É ¥ string/inst/É LIST É ¥ ' '/string/inst/É STRG ELST LCAL OutStr É ¥ string/inst/É LCAL OutStr É ¥ inst/É LCAL CRLF É ¥ inst/É PRIM Heap/Store self EDEF LDEF PrTime CMNT Prints out the current time CMNT Input: É ¥ É CMNT Output: É ¥ É PRIM Timer/Get PAT É ¥ PAT/É PRIM List/Behead É ¥ high/list/É LCAL OutOrd É ¥ list/É LITO 45 É ¥ 45/list/É LCAL OutChar É ¥ list/É PRIM List/Behead É ¥ middle/list/É LCAL OutOrd É ¥ list/É LITO 45 É ¥ 45/list/É LCAL OutChar É ¥ list/É PRIM List/List to item É ¥ low/É LCAL OutOrd É ¥ É LITO 32 É ¥ 32/É LCAL OutChar É ¥ É LITO 58 É ¥ 32/É LCAL OutChar É ¥ É LITO 32 É ¥ 32/É LCAL OutChar É ¥ É LITO 32 É ¥ 32/É LCAL OutChar É ¥ É EDEF LDEF CRLF CMNT Prints out a carriage return and line feed CMNT Input: É ¥ É CMNT Output: É ¥ É LITO 13 É ¥ CR/É LCAL OutChar LITO 10 É ¥ LF/É LCAL OutChar EDEF LDEF OutStr CMNT Breaks a string up into characters and sends them CMNT Input: É ¥ string/É CMNT Output: É ¥ É PRIM List/Test for leaf É ¥ rslt/string/É BRFL branch if not a leaf PRIM List/Remove É ¥ string'/pair/É LCAL OutStr É ¥ pair/É LCAL OutPair É ¥ É BRTR PRIM List/List to item É ¥ pair/É LCAL OutPair É ¥ É EDEF LDEF OutPair CMNT Sends a pair of characters CMNT Input: É ¥ pair/É CMNT Output: É ¥ É PRIM Stack/Duplicate É ¥ pair/pair/É LITO 255 É ¥ mask/pair/pair/É PRIM Ordinal/And É ¥ char1/pair/É LCAL OutChar É ¥ pair/É PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right PRIM Ordinal/Right É ¥ char2/É LCAL OutChar É ¥ É EDEF LDEF OutChar CMNT Sends a character CMNT Input: É ¥ char/É CMNT Output: É ¥ É LITO 0 É ¥ channel/char/É ASIO SIO/output_character É ¥ É EDEF LDEF OutOrd CMNT Sends an ordinal CMNT Note that the count is preset to 48 to generate ASCII CMNT Input: É ¥ ordinal/É CMNT Output: É ¥ É LITO 10000 É ¥ 10000/ordinal/É LITO 48 É ¥ count/10000/ordinal/É LCAL div É ¥ count/mod10000/É LCAL OutChar É ¥ mod10000/É LITO 1000 É ¥ 1000/mod10000/É LITO 48 É ¥ count/1000/mod10000/É LCAL div É ¥ count/mod1000/É LCAL OutChar É ¥ mod1000/É LITO 100 É ¥ 100/mod1000/É LITO 48 É ¥ count/100/mod1000/É LCAL div É ¥ count/mod100/É LCAL OutChar É ¥ mod100/É LITO 10 É ¥ 10/mod100/É LITO 48 É ¥ count/10/mod100/É LCAL div É ¥ count/mod10/É LCAL OutChar É ¥ mod10/É LITO 48 É ¥ 48/mod10/É PRIM Ordinal/Add É ¥ char/É LCAL OutChar É ¥ É EDEF LDEF div CMNT Returns the count of bases in arg CMNT Input: É ¥ count/base/arg/É CMNT Output: É ¥ count/rslt/É PRIM Stack/Switch É ¥ arg/base/count/É PRIM Ordinal/Reverse compare É ¥ rslt/arg/base/count/É BRFL branch if done PRIM Stack/Xdrop É ¥ arg/count/É PRIM Stack/Swap É ¥ count/arg/É BRTR PRIM Stack/Over É ¥ base/arg/base/count/É PRIM Ordinal/Subtract É ¥ arg-base/base/count/É PRIM Stack/Switch É ¥ count/base/arg-base/É PRIM Ordinal/Increment É ¥ count+1/base/arg-base/É LCAL div EDEF