13.07.2015 Views

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

The Midterm Solution - Suraj @ LUMS - Lahore University of ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

i) Consider the following code:mov ax, 0hmov cx, 0AhdoLoop:dec axloop doLoopWhat is the value <strong>of</strong> the ax register after the completion <strong>of</strong> the doLoop? [2]<strong>The</strong> value <strong>of</strong> the ax register after completion <strong>of</strong> the loop is:FFF6 hRough WorkPage 14 <strong>of</strong> 16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!