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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Initial Contents <strong>of</strong> Memory in hex:Rough WorkLocation Contents100 011C102 3122104 1120106 011A108 211E10A 111A10C 411210E 1120110 1124112 011C114 211A116 111C118 700011A 0000Step No:1. AC= 00052. AC= 000A3. location 120: 000A4. AC= 00005. AC= 00036. location 11A: 00037. PC = 1128. AC= 00059. AC= 000810. location 11C = 0008OR Alternatively7. PC = 11C8. Can not continue, as we don’tknow the contents <strong>of</strong> location00511C 000511E 0003120 0000122 0002124 0004Page 7 <strong>of</strong> 16

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

Saved successfully!

Ooh no, something went wrong!