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().

Discussion

Enter your comment. Wiki syntax is allowed:
J Q W W V
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies