SYS

Syntax:

sys <int address>

The SYS command calls a machine language routine at the specified address.

The expression must evaluate to an integer and will be treated as unsigned. Once the machine language routine returns using the RTS opcode, the XC=BASIC program will continue at the next line.

Note that SYS can't pass parameters to the machine language routine, nor can get any return value. For calling machine language functions, see USR().