EasyManua.ls Logo

Atari ST series - Page 250

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cauxin
Wait for RS-232 Character
Cauxin() Opcode = 3 ($03)
T his fu nctio n w a its u ntil a ch a ra cte r is ava ilable fro m th e R S -232 se rial d e
v ice, a n d re tu rn s its A SC II v alu e. It d o es n o t e ch o th e c h ara cte r to th e
sc re en .
C macro format
c h a r ch ;
ch = C a u x in ( );
Machine language format
m o v e.w # 3 , - (sp )
trap # 1
a d d q .l # 2 ,s p
Inputs
N o n e
Results
DO ch w o rd T h e lo w e r eig h t bits co n tain th e A S CII ch a ra cter re
ceiv ed .
See also
C a u x is (), C c o n i n ()
242