
Exercises
45
1.18
1.19
1.20
1.21
1.22
1.23
1.24
1.25
smaller). Indicate whether the same instructions can be used if the comparison
was done on unsigned integers or on signed integers. If not, determine how the
flags would be used by the branch instructions in each case.
Algorithms for Range Extension and Arithmetic Shifts
Given the digit-vectors A = (7, 3, 6, 2) and B = (3, 2, 1, 6):
(a) Determine the integers represented in a range complement decimal system
and in a digit complement decimal system.
(b) Extend the vectors to six digits; that is, represent the same numbers using
six digits.
(c) Obtain the representation for ...