| SYS Statement | Reference/Commodore BASIC V3.5
SYS address
The SYS statement starts executing a machine language program at the specified address (in decimal format). If the BASIC program is to continue, an RTS instruction (outside of a JSR subroutine) must be executed in the machine language program.
This is similar to the USR function, but the starting point is directly specified by the SYS statement, and no data is directly transferred between the machine language program and the BASIC program.
SYS 4112 Starts machine language program execution at memory location 4112 ($1010)
S SHIFT+Y |
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |