6-Exams_Major_1 - 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-1(071); 4 th October, 2007 Prob.1 Prob.2 Prob.3 Total Answer all questions. Time 1.20 hou r Name : Section : I.D. 1(a). Write a program that will add the contents of the ten data-words, stored in memory locations starting from DS:1050 H , and store the sum into a memory location of ES:2050 H . Line1: ____________________ Line8: ___________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ 1(b). Using shift-rotate instructions fill the contents of AL register with the existing content of the carry flag. Use 3-line of program code. Line1: ____________________ Line3: ___________________ Line1: ____________________
Background image of page 1

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

View Full DocumentRight Arrow Icon
2(a). If DS=1000 H
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.

This note was uploaded on 05/17/2010 for the course EE EE390 taught by Professor Mohandes during the Spring '10 term at King Fahd University of Petroleum & Minerals.

Page1 / 3

6-Exams_Major_1 - 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