164
PROGRAMMING EXAMPLESII
Search for Answers
1. Apart from the accumulator, does any other reg-
ister off ers the option of rotating it circular or
through the CY fl ag?
2. Make a list of all instructions capable of counting
the cleared bits in a byte.
3. What is the diff erence between the packed and
the unpacked BCD numbers?
4. In Example 11.5, what is the reason to store 00H in
the place where the maximum number would be
placed?
5. What is meant by the term ‘pass’ in the case of
sorting?
6. What is meant by the term ‘swapping’? In which
example it was implemented?
7. If an array of randomly placed 50 integers are to be
sorted for descending order, what should be the
maximum number of passes required in the bub-
ble sort method? ...