Cconout
Send Character to Screen
Cconout() Opcode = 2 ($02)
T his fu nction se n d s a sin gle ch ara cte r to th e co n so le scre en d ev ice.
C macro format
ch a r ch ;
C c on o u t(ch );
Machine language format
m o v e .w # c h a r ,- ( s p )
m o v e .w # 2 , - ( s p )
trap # 1
ad d q.l # 4 ,s p
Inputs
ch ar w o rd T h e lo w by te co n tain s th e A SC II va lu e of
th e ch ara cte r to w rite to th e sc re e n , th e
h igh by te is 0.
Results
N o ne
See also
C c o n o s (), C p m o u t (), C a u x o u t()
241