Submitted by Steve Fewell
Description:
Call routine &96B4 to evaluate the expression after the CHR$ keyword and set the IWA to the Integer result value of
the expression (or issue 'Type mismatch' error if the result was not numeric).
Set A to the IWA's LSB byte (&2A), i.e. 1-byte value specified by the numeric result of the expression.
This value should be the ASCII code of the character required to be returned by the CHR$ function.
Call routine &AE6C to set the SWA to the character specified by the ASCII code (located in A).
B22F | 032 180 150 | 20 B4 96 | JSR &96B4 IWA = Integer value at PTR B | |
B232 | * | 165 042 | A5 2A | LDA &2A |
B234 | Ll | 076 108 174 | 4C 6C AE | JMP &AE6C Set SWA to 1-byte value (A) |