Description:
Pop top byte and convert it into a signed 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 byte value.)
Flags Affected:
Possible Errors:
| tvmStackOverflow | - | There is not enough room on the stack to push the ASCII characters and digit count for the signed decimal represenation of the byte. |
Example:
fmtbd
| | After
| stack | | | top | | 1 | 0x04 | | 2 | 0x33 | | 3 | 0x30 | | 4 | 0x31 | | 5 | 0x2D | | | bottom |
|
|
version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.