iiChrPrintX dest# [D>=23]
<dest> <- X; (X = Y; Y = Z; Z = T)
"Character Print X"
Send the code in X to dest. Useful for example for sending carriage return ('0D) and line feed ('0A) out of the serial port.. Pops X.
This instruction is automatically indexed.
When printing to RAM the index register I is added to the dest address and the result is stored in that location. I is then incremented by the number of characters stored. This allows several things to be "printed" to RAM.
"Printing" to RAM is typically used for communicating with an Xwire peripheral.
The dest argument determines where the result of the instruction is directed.
| Destination address ( | Where the result is directed |
| 0 - 249 | The result is stored in successive RAM locations, starting at Note: These addresses are not jndexed. Instead they use |
| 251 - 254 | The result is directed to the serial port at the address given, providing the selected protocol is "User programmable", and that the controller you are programming has a serial port at that address. This is the primary means of generating any arbitrary serial output under program control. |
Dialect exclusions: Not available in dialects before 23
See also iifPrintWFW, iifPrintWVW, iiHexPrintX, iisPrintXFW, iisPrintXVW, iiuPrintXFW, iiuPrintXVW
