Specifications

Table 3–6 Calculate Command Qualifiers
Command Description
Cal[culate]/o Calculate using the octal radix.
Cal[culate]/d Calculate using the decimal radix.
Cal[culate]/h Calculate using the hexadecimal radix.
Hexadecimal is the default radix. If you set the default radix to decimal
or octal, the system immediately defaults back to hexadecimal when the
calculation is finished.
To convert the value of 100 octal to hexadecimal or decimal, use the following
command:
HLT> caculate/o 100
Enter
100, 64, 40
To convert the value of 100 decimal to octal or hexadecimal, use the following
command:
HLT> calculate/d 100
Enter
144, 100, 64
To see the value of 100 hexadecimal in the three radices, use the following
command:
HLT> calculate 100
Enter
400, 256, 100
Note that because hexadecimal is the default, you do not have to specify /h
when calculating in hexadecimal.
If you use more than one radix in a calculation, use the symbols shown in
Table 3–7 to specify the radix of an individual number.
Table 3–7 Calculate Command Radix Symbols
Radix Symbol Example
Decimal . 10.
Hexadecimal h 10h
Octal o 10o
For example, in the equation that follows, the number 13 is hexadecimal, 59 is
decimal, and 100 is octal:
HLT> calculate 13 + 59. + 100o
Enter
216, 142, 8e
System Exerciser 3–13