LINPRT ... that's helluva lot of code just to print an unsigned 16-bit int. The only good news is that it is built-into ROM.
Usage:
LDA #$12
LDX #$34
JMP $ED24
Output:
4660
NOTE: Stack $100 .. $1104 is used as output buffer.
Requires:
* $E000 Basic Cold Start or
* $E003 Basic Warm Start
must be called first.
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 764 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:54:44 |
Calls: | 11,275 |
Calls today: | 1 |
Files: | 5,288 |
D/L today: |
81 files (10,064K bytes) |
Messages: | 521,283 |