EE390_081_MAJOR2 - King Fahd University of Petroleum &...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
King Fahd University of Petroleum & Minerals Electrical Engineering Department EE-390; Exam-2(081); 14 th January, 2009 Prob.1 Prob.2 Prob.3 Total Name : Section : 1 I.D. Answer all three questions, which carries equal marks. Exam TIME: 8:00 to 9:30 PM 1(a). Write an efficient program segment using ' SCAS ' instruction to check 45 D byte- wide memory locations starting with a PA=ES:013A H and COUNT how many data=56 H is stored in these memory locations. Store the counted number into DX register. (Don't include TITLE, MODEL …END and use the given lines) Line 1: _________________________________ Line 8: __________________________ __________________________________ _________________________________ __________________________________ _________________________________ __________________________________ _________________________________ __________________________________ _________________________________ __________________________________ _________________________________ __________________________________ _________________________________
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

EE390_081_MAJOR2 - King Fahd University of Petroleum &...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online