$SERIALOUTPUT
Action
Specifies that serial output must be redirected.

Syntax
$SERIALOUTPUT = label

Remarks

label The name of the assembler routine that must be called when a character is send 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.



Example

$SERIALOUTPUT = MyOutput
'here goes your program
END
!myoutput:
;perform the needed actions here
mov sbuf, a ;serial output buffer (default)
ret