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: | 718 |
Nodes: | 20 (0 / 20) |
Uptime: | 31:48:14 |
Calls: | 9,174 |
Calls today: | 22 |
Files: | 5,288 |
D/L today: |
268 files (67,746K bytes) |
Messages: | 465,822 |
Posted today: | 2 |