Specifies that serial output must be redirected.
$SERIALOUTPUT = label
label The name of the assembler
routine that must be called when a character is send to the serial buffer
The character is placed into ACC.
With the redirection of the PRINT and other serial output related commands,
you can use your own routines.
This way you can use other devices as output devices.
'here goes your program
;perform the needed actions here
mov sbuf, a ;serial
output buffer (default)