examples/misc/basicstub.a
raw| 1 | ;ACME 0.97 |
| 2 | |
| 3 | ;* = $0801 ; c64 |
| 4 | ;* = $1001 ; c16/+4 |
| 5 | ;* = $1c01 ; c128 |
| 6 | !wo line2, 2021 ; link pointer and line number |
| 7 | !by $9e, ' ' ; "sys " |
| 8 | !by '0' + entry % 10000 / 1000 |
| 9 | !by '0' + entry % 1000 / 100 |
| 10 | !by '0' + entry % 100 / 10 |
| 11 | !by '0' + entry % 10 |
| 12 | !pet ':', $8f, " this is a comment!" ; ":rem " |
| 13 | !by 0 ; line terminator |
| 14 | line2 !wo 0 ; program terminator |
| 15 | |
| 16 | entry ; the BASIC stub jumps here |