Specifies that serial output must be redirected.
$SERIALOUTPUT = label
The name of the assembler routine that must be called when a character is sent to the serial buffer (SBUF).
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.
$SERIALOUTPUT = MyOutput
'here goes your program
;perform the needed actions here
mov sbuf, a ;serial output buffer (default)