Description:
Pop top short and convert it into a 4-digit hexadecimal representation. Push ASCII characters for each hexadecimal digit, followed by the number of digits, on to the stack.
Flags Affected:
Possible Errors:
| tvmStackOverflow | - | There is not enough room on the stack to push the ASCII characters and digit count for the 4-digit hexadecimal represenation of the short. |
Example:
fmtsh
Before
| stack | | | top | | 1 | 0x92 | | 2 | 0xA7 | | | bottom |
|
| | After
| stack | | | top | | 1 | 0x04 | | 2 | 0x32 | | 3 | 0x39 | | 4 | 0x37 | | 5 | 0x41 | | | bottom |
|
|
version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.