| Entry | |
|---|---|
| R0 | Value to be converted |
| R1 | Pointer to buffer for resulting string |
| R2 | Size of buffer |
| Exit | |
|---|---|
| R0 | Pointer to buffer (R1 on entry) |
| R1 | Pointer to terminator |
| R2 | Free bytes in buffer |
The purpose of this call is to convert a value into a string of 1 hex character.
The string does not include an ampersand (‘&’) character, but is padded with leading zeros, so is of fixed length.