/ case for new line (which is special for apl box)
/ case Q for controlled quit
/ case of delete character
/ case _ for negative numbers
7: <Symbol table overflow.\n>
/ result returned in r1 (old r1 released)
/ case % for remaindering
/ set field widths for output
/ and set output digit handling routines
fw: 1 /field width for digits
/ case k for skale factor
/ case ^ for exponentiation
/ check for zero or negative
/ look at the top one or two digits
/ allocate space for result
/ get high order digit of arg and square root it
/ get successive approx. from Newton
/ case [ for subroutine definition
/ case x for execute top of stack
/ case ? for apl box function
/ case < for conditional execution
/ case !< for conditional execution
jsr pc,in055 /go subtract
jsr pc,in154 /load from register
/ case = for conditional execution
/ case != for conditional execution
/ case > for conditional execution
/ case !> for conditional execution
/ routine to read and convert a number from the
/ input stream. Numbers beginnig with 0 are
/ converted as octal. Routine converts
/ routine to read another character from the input
/ stream. If the caller does not want the character,
/ it is to be placed in the cell savec.
/ The routine exits to the system on end of file.
/ Character is returned in r0.
/ case f for print the stack
/ routine to convert to decimal and print the
/ top element of the stack.
sys write; 3:.=.+2; 0:.=.+2
/ cleanup, print new line and return
/ r3 = pointer (not released)
ding: <
\a\e\f> /<bell prefix form feed>
mov r0,-(sp) /end of field
cmp r0,2(sp) /end of field
/ here for unimplemented stuff
/ routine to place one word onto the pushdown list
/ Error exit to system on overflow.
/ routine to remove one word from the pushdown list
/ carry bit set on empty stack