Description:
Pop top short and convert it into an unsigned decimal representation. Push ASCII characters for each decimal digit, followed by the number of digits, on to the stack. (Number of digits depends on the short value.)
Flags Affected:
Possible Errors:
| tvmStackOverflow | - | There is not enough room on the stack to push the ASCII characters and digit count for the unsigned decimal represenation of the short. |
Example:
fmtsu
Before
| stack | | | top | | 1 | 0x92 | | 2 | 0xA7 | | | bottom |
|
| | After
| stack | | | top | | 1 | 0x05 | | 2 | 0x38 | | 3 | 0x39 | | 4 | 0x38 | | 5 | 0x32 | | 6 | 0x34 | | | bottom |
|
|
version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.