Cisy 312: Microprocessor Programming Question Paper

Cisy 312: Microprocessor Programming 

Course:Computer Science And Business Information

Institution: Kenya Methodist University question papers

Exam Year:2013



KENYA METHODIST UNIVERSITY
END OF 3RDTRIMESTER 2013 (PT) EXAMINATION
FACULTY : COMPUTING & INFORMATICS
DEPARTMENT : COMPUTER SCIENCE AND BUSINESS INFORMATION
UNIT CODE : CISY 312
UNIT TITLE : MICROPROCESSOR PROGRAMMING
TIME : 2 HOURS


Instructions:
Question One
Explain three characteristics that distinguish microprocessor systems.
(3mks)
Describe three main internal components of a microprocessor. (3mks)
All operations of a microprocessor can be classified into three types. Discuss the types.
(6mks)
Discuss the tri-state buffers and explain their importance in microprocessor systems.
(4mks)
State the three 8085 buses and explain how they perform their operations.
(6mks)
Explain the meaning of the microprocessor program instruction ADD R1, R2, R3.
(2mks)
Insert comments for each line in the following program, state the location of the final results of computation and the answer given.
Org 100l
Mov ax, 5
Movbx, 2
Jimpcalc
Back: Jmpstop
Calc:
Calc:
Add ax, bx
Jmpback
Stop:
Ref (6mks)
Question Two
Describe the term flag as used in microprocessor programming, describe four types of flags.
(6mks)
Memory is usually measured in two number: its length and its width (length X width) explain using an example.
(5mks)
Define the term procedure as used in microprocessor programming. Give it general syntax.
(4mks)
Question Three
Explain using an example how the MOV operation works in microprocessor programming.
(4mks)
Describe two types of peripherals available for a microprocessor giving an example for each.
(4mks)
Using the 8086 emulator write a program code that will compare two numbers and display an answer if either "yes" or "no" whether the two number are equal or not.
(7mks)
Question four
Explain the difference between
intrasegment jumps and intersegments jumps.
(4mks)
Differentiate a macro from a procedure and give a general sysntax. (6mks)
Write a macro code that compares two valves stored on label I and label 2.
(5mks)
Question Five
What is a label?
(3mks)
Explain the following data transfer techniques.
(8mks)
Moving
Exchanging
Exchanging digit
Swapping
Five two examples of
(4mks)
Segments register.
Pointer registers.






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers