EE390_081_MAJOR1 - 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-1 Prob.1 Prob.2 Prob.3 Total Answer the THREE question. All questions carry equal marks. Name : Section : I.D. 1(a) If the data segment is starts from PA=1234 H , what is the physical address (PA) of the last misaligned word stored in that segment: PA = _____________ H 1(b) Write a program that will invert the MSB and MASK Bit 2 and Bit 4 of the 8-bit data stored in CL register. Also convert the new contents of CL into a word and store the word into CX register. (use maximum 6 lines of code) Line 1:____________________________ Line 2: ____________________________ Line 3:____________________________ Line 4: ____________________________ Line 5:____________________________ Line 6: ____________________________ 1(c) Assume AL and BL registers stores the hexadecimal codes of any two ASCII numbers (0 ascii to 9 ascii ). Execute the following program and find the value in AX register. Hint : Read the given "Comments"
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 / 3

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