Consider the following program fragment in assembly language:

mov ax, 0h

mov cx, 0A h

doloop:

dec ax

loop doloop

What is the value of ax and cx registers after the completion of the doloop?

1
ax = FFF5 h and cx = 0 h
2
ax = FFF6 h and cx = 0 h
3
ax = FFF7 h and cx = 0A h
4
ax = FFF5 h and cx = 0A h

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation