Cconis
Get Keyboard Input Status
Cconis() Opcode = 11 ($0B)
A llow s y o u to de te rm in e w h e th e r th ere is a ch a ra cter w a itin g to b e re
ceiv ed from th e c o n so le d ev ice k ey b oard .
C macro format
in t sta tu s;
sta tu s = C c o n i s ();
Machine language format
m o v e .w # $ 0 B , - (sp )
trap # 1
ad d q .l # 2 ,s p
Inputs
N o n e
Results
DO s tatu s lo n g A va lu e o f 0 m ean s th ere a re n o ch ara cters w aitin g,
w h ile - 1 m e a n s th a t a t least o n e ch ara cter is w aitin g
to b e re ce iv ed .
See also
C c o n in ()
250