DEC - convert from decimal to octal

Syntax:

DEC <decimal-number>

Examples:

dec 9381
dec 123456

Description:

This command may be used to convert a decimal number to its octal equivalent. Decimal numbers up to 11 digits can be converted. Negative numbers and expressions are NOT allowed.

Known Bugs:

Giving this trace command a number larger than ((2**35)-1) (the largest positive integer representable in one machine word) will give an erroneous result. ((2**35) and (2**35)+1 yield overflow faults instead).

Copyright © 1996, Thinkage Ltd.