
197
REVIEW QUESTIONS
REVIEW QUESTIONS
SUMMARY
Applications of instructions such as MOVX, MOVC,
MUL, DIV, DA A, XCH, XCHD and SWAP were discussed
in this chapter through suitable software development
examples. Several techniques of algorithms, such as
prime number generation by method of deletion,
4-bit left shift of 16-bit operand and counting number of
words from an ASCII text fi le, have also been discussed.
Proper usage of f lags and bit-addressable data memory
area for that purpose have also been demonstrated by
suitable example cases.
POINTS TO REMEMBER
• DIV AB instruction leaves the remainder in the B
register and the quotient in the accumulat ...