Phys 405: Microprocessor Systems Question Paper
Phys 405: Microprocessor Systems
Course:Education
Institution: Kenya Methodist University question papers
Exam Year:2012
KENYA METHODIST UNIVERSITY
END OF 2''ND ''TRIMESTER 2012 (SCHOOLBASED) EXAMINATIONS
FACULTY : EDUCATION AND SOCIAL SCIENCES
DEPARTMENT : EDUCATION
UNIT CODE : PHYS 405
UNIT TITLE : MICROPROCESSOR SYSTEMS
TIME : 2 HOURS
INSTRUCTIONS
Answer question ONE and any other two questions.
Question One (30 Marks)
Define the following terms:
Word size.
(2 Marks)
Assembler.
(2 Marks)
State the functions of the CPU.
(4 Marks)
For a 4K x 8 RAM, state:
No of Address Lines.
(2 Marks)
Data bus width.
(1 Mark)
State the functions of the following microprocessor unit registers.
Accumulator.
(2 Marks)
Program counter.
(2 Marks)
Differentiate between general purpose and special purpose registers. Give examples.
(6 Marks)
Write an assembly language program for addition of two hexadecimal numbers 16H and 34H and save the result in register D
(6 Marks)
What is a submutine?
(3 Marks)
Question Two (20 Marks)
How is the c-flag and Z-flag affected during ALU operation?
(4 Marks)
Draw a labeled block diagram for a simple micro-computer system showing all the busses.
(5 Marks)
What is the data bus bi-directional?
(3 Marks)
Differentiate between assembly and high-level languages.
(8 Marks)
Question Three (20 Marks)
Explain the events that takes place when the following instructions are executed
Halt.
(3 Marks)
NOP.
(3 Marks)
For a 8-bit up-system, it is required to use 1k x 8 EPROM and 2k x 8 RAM. Find the addresses of EPROM and RAM given that RAM starts at memory location OOOOH.
(8 Marks)
Differentiate between immediate and register Addressing modes. Give relevant examples.
(6 Marks)
Question Four (20 Marks)
Differentiate between conditional and unconditional jumps.
(6 Marks)
Write an assembly language given the instructions below.
(5 Marks)
Load accumulator with data byte 24 H.
Load Reg C with data byte 56H
ADD contents of C into the Accumulator.
Display contents onto part 01H.
End the program.
State the condition flags found in 8086 micro-procession.
(6 Marks)
What is an interrupt?
(3 Marks)
More Question Papers