

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following program fragment in assembly language:mov ax, 0hmov cx, 0A hdoloop:dec axloop doloopWhat is the value of ax and cx registers after the completion of the doloop? |
A. | ax = FFF5 h and cx = 0 h |
B. | ax = FFF6 h and cx = 0 h |
C. | ax = FFF7 h and cx = 0A h |
D. | ax = FFF5 h and cx = 0A h |
Answer» C. ax = FFF7 h and cx = 0A h | |