Page 13 of 62
SBasic User's Manual SBasic Version 2.7 Page 13
Printed: December 5, 1999
printu output text; numbers print as unsigned
printx output text; numbers print as hexadecimal
inkey() input a character from the console
outch output a character to the console
interrupt marks start of an SBasic ISR
const creates a named constant
declare creates a single 16-bit variable
asm marks start of inline assembly language source
endasm marks end of inline assembly language source
addr() returns address of a label or variable
push pushes a value onto the SB data stack
pop() pops a value from the SB data stack
pull() synonym for pop()
place change an element in the SB data stack
pick() copy an element from the SB data stack
drop remove one or more elements from SB data stack
interrupts enables or disables system interrupts
gosub invokes an SBasic subroutine
usr() invokes an SBasic subroutine, returns one value
return returns from an ISR or subroutine
end ends an SBasic program or ISR