EE390_082_MAJOR2 - King Fahd University of Petroleum &...

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

View Full Document Right Arrow Icon
Electrical Engineering Department EE-390; Exam-2 (0xx); Prob.1 Prob.2 Prob.3 Total Name : Section : I.D. Answer all the questions. All questions carry equal marks . 1 Write an effective assembly language program that will check if the 1 st ten memory locations of the Stack segment are correctly storing data. If the stack memory location sare storing data correctly, make DX=0 H . Otherwise make DX=1 H (Use the given lines) Line 1: ___________________ Line 9:_____________________ ___________________ _____________________ ___________________ _____________________ ___________________ _____________________ ___________________ _____________________ ___________________ _____________________ ___________________ _____________________ ___________________ _____________________ 1(b). 'SCASB' instruction, when executed with DF='0', will compare the Byte-contents of physical addresses DS:SI with ES:DI and increment the pointers SI and DI. Title “major 2”
Background image of page 1

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

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

Page1 / 4

EE390_082_MAJOR2 - King Fahd University of Petroleum &...

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

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