
0-34
x86 MICROPROCESSORS
A8H is −88.
1045H is +4165.
Adding the two, gives us 4077, whose hex representation is 0FEDH.
Add F5H and B45CH.
iii) In this, F5H is sign extended to be FFF5H.
Adding
FFF5H +
B45CH … note that this is a negative number
1 B451H
Ignoring the extra carry bit, the sum is B451H, a negative number. To verify, find the
decimal equivalents of the numbers, which are −11 and −19364, which when added give
−19375.
Note You may also verify that without extending the negative sign, a wrong result is
obtained.
All the calculations we have done can be verified easily using the scientific calcula-
tor available on the PC. So, try ...