Microprocessor Programming Question Paper
Microprocessor Programming
Course:Computer Science
Institution: Kenya Methodist University question papers
Exam Year:2012
INSTRUCTIONS Answer Question ONE and any Other TWO Questions
Question 1
a) Write an assembly language program that displays the following information on the screen. Name: Date_of_Birth: Course: (10marks)
b) Addressing modes refer to the way operands are presented in the operation. Describe at least FOUR addressing modes used by an 8086 processor. (8marks)
c) MASM uses an inline assembler whereas TASM uses an assembler. Explain. (6marks)
d) Describe, with examples, at least THREE arithmetic instructions used in assembly programming. (6marks)
Question 2
a) What are addressing modes? (2marks)
b) Describe SIX addressing modes. (18marks)
Question 3
a) Describe three types of operands. (9marks)
b) Write a program that rearranges the values of three doubleword values in the following array as: 3, 1, 2 (11marks)
Question 4
Write an assembly program that adds two numbers. (20marks)
Question 5
With the aid of a clear diagram, describe the registers and flags found in a 8086 processor. (20marks)
More Question Papers
Exams With Marking Schemes
Popular Exams
Mid Term Exams
End Term 1 Exams
End Term 3 Exams
Opener Exams
Full Set Exams
Return to Question Papers