3/15/72                                                ATOI (III)





NAME            atoi -- ascii to integer



SYNOPSIS        jsr     r5,atoi; subr



DESCRIPTION     atoi will convert an ascii stream to a binary

                number returned in mq.  The subroutine subr is

                called on r5 for each character of the ascii

                stream.  subr should return the character in r0.

                The first character not used in the conversion is

                left in r0.



FILES           kept in /usr/lib/liba.a



SEE ALSO        --



DIAGNOSTICS     --



BUGS            The subroutine subr should not disturb any regis-

                ters.



OWNER           ken