Base Conversions and Arithmetic and Logic 11-5
The result of an operation is always an integer (any fractional portion is
truncated).
Whereas conversions change only the display of the number but not the actual
number in the X–register, arithmetic does alter the number in the X–register.
If the result of an operation cannot be represented in valid bits, the display shows
and then shows the largest positive or negative number possible.
Example:
Here are some examples of arithmetic in Hexadecimal, Octal, and Binary modes:
12F
16
+ E9A
16
= ?
7760
8
– 4326
8
=?
100
8
÷ 5
8
=?
5A0
16
+ 1001100
2
=?
Keys: Display: Description:
()
Sets base 16; HEX
annunciator on.
()
()
Result.
()
Sets base 8; OCT
annunciator on. Converts
displayed number to octal.
()
()
Result.
()
()
Integer part of result.
()
()
Sets base 16; HEX
annunciator on.