Cisy 312: Microprocessor Programming Question Paper
Cisy 312: Microprocessor Programming
Course:Computer Science And Business Information
Institution: Kenya Methodist University question papers
Exam Year:2012
KENYA METHODIST UNIVERSITY
END OF 2ND TRIMESTER 2012 (EVENING) EXAMINATIONS
FACULTY : COMPUTING & INFORMATICS
DEPARTMENT : COMPUTER SCIENCE & BUSINESS INFORMATION
UNIT CODE : CISY 312
UNIT TITLE : MICROPROCESSOR PROGRAMMING
TIME : 2 HOURS
Instructions: Answer Question ONE any other TWO Questions.
Question One
Assembly language hold certain advantages over machine languages and high level languages. Give TWO of them.
(4 Marks)
Define a character string TITLE containing ’KEMU Nairobi Campus’.
(2 Marks)
List the steps in the instruction execution cycle.
(6 Marks)
Make the following conversions:
(10 Marks)
2AE (hex) to decimal.
9A6D (hex)to binary
1110011101111 (binary) to hex
7A2 (hex) to octal
111101110 (binary) to decimal.
(e) Describe the operation of an assembler. (8 Marks)
Question Two
Operands of an instruction can be in a register, in memory, implied or coded as part of an instruction. Discuss each type of an operand.
(12 Marks)
(i) Define an interrupt as applied in computing.
(3 Marks)
(ii) Describe how an interrupt works. (5 Marks)
Question Three
Describe the difference between real, protected and virtual 8088 mode with regard to: (20 Marks)
Operating system support.
Application support
Available memory
Instruction set
Role of segment register
Question Four
Write one program to test the following procedures in MASM. (20 Marks)
Set textcolor
Randomize
Randompagne
Writestring
DumpRegs.
More Question Papers