
30 EMBEDDED SYSTEMS
iii) Add F5H and B45CH
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, fi nd 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 verifi ed easily using the scientifi c calculator
available on the PC. So, try to be adept in the use of that calculator.
0.7 | Units of Memory Capacity
A memory device is one in ...