0% found this document useful (0 votes)
37 views4 pages

EEE 4430 Microprocessor Systems

The document is a past paper for the Bachelor of Science in Medical Engineering course. It contains 5 questions testing knowledge of microprocessor systems and assembly language programming. Question 1 has parts on microcomputer components, instruction sizes, register functions and 8085 instructions. Question 2 covers opcode decoding, machine/instruction cycles, and data transfer instructions. Question 3 is about tri-state buffers, machine cycles and status flags. Question 4 tests assembly language concepts, addressing modes and a data manipulation program. Question 5 includes a memory map, RET instruction and a number multiplication program with and without a subroutine.

Uploaded by

Penina Tabitha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views4 pages

EEE 4430 Microprocessor Systems

The document is a past paper for the Bachelor of Science in Medical Engineering course. It contains 5 questions testing knowledge of microprocessor systems and assembly language programming. Question 1 has parts on microcomputer components, instruction sizes, register functions and 8085 instructions. Question 2 covers opcode decoding, machine/instruction cycles, and data transfer instructions. Question 3 is about tri-state buffers, machine cycles and status flags. Question 4 tests assembly language concepts, addressing modes and a data manipulation program. Question 5 includes a memory map, RET instruction and a number multiplication program with and without a subroutine.

Uploaded by

Penina Tabitha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Paper B

TECHNICAL UNIVERSITY OF MOMBASA


Faculty of Engineering and Technology
Department of Medical Engineering

UNIVERSITY EXAMINATION FOR:


Bachelor of Science in Medical Engineering
EEE 4430: Microprocessor Systems

SPECIAL/SUPPLEMENTARY EXAMINATION
SERIES: SEPTEMBER 2018

TIME: 2 HOURS
DATE: SEPTEMBER 2018
Instructions to Candidates
You should have the following for this examination
-Answer Booklet, examination pass and student ID
This paper consists of five Questions; Question ONE is compulsory. In addition attempt any
Other TWO Questions.
Do not write on the question paper.

QUESTION ONE

a) With the aid of a block diagram explain the functions of each of the basic parts of a
microcomputer [10 marks]
b) Explain the THREE instruction word sizes giving ONE example in each case.
[6 marks]
c) Explain the functions of each of the following registers:

(i) Program counter

(ii) Accumulator

(iii) Index register. [6 marks]

d) (i) Write instructions for the Intel 8085 microprocessor to perform the following tasks

(I) Load byte 5AH in register C.

(II) Exchange H and L with D and E

© 2018 Technical University of Mombasa


Page 1 of 4
(III) 2080H in register pair H, L.

(IV) Copy contents of register B to the Accumulator.

(ii) State and explain TWO instructions used with the stack. [7 marks]

QUESTION TWO

a) Explain any THREE actions taken after opcode has been decoded [6 marks]
b) (i) Differentiate between machine cycle and instruction cycle.

(ii) Explain the function of the following instructions.

(I) INX D

(II) DAD B [6 marks]

c) Nine bytes of data are stored in memory locations at 8050H to 8058H.


The data bytes are: Data (H): 37, A2, F2, 82, 57, 5A, 10, 19 and 98.

(i) Write instructions to store the data bytes in the memory locations.

(ii) Write a program that transfers the entire block of data in (i) to new memory
locations starting at AB00H.

[8 marks]

QUESTION THREE

a) With the aid of a diagram, explain a tri-state buffer and why it should be used in
microprocessor data bus. [6 Marks]
b) State any SIX machine cycles in the Intel 8085 microprocessor [6 Marks]
c) Explain the functions of any FOUR status bits found in the flags register. [8 Marks]

QUESTION FOUR

(a) (i) Explain the following concepts as used in assembly language programming:

(I) Opcode

(II) Operand

(ii) Explain any FOUR addressing modes used in Intel 8085A microprocessor. [10 marks]

(b) i) State any THREE microprocessor operations related to data manipulation.


ii) Write an assembly language program to load the byte 8EH in register D and F7H in
register E. Mask the higher order bits (D7 – D4) from both the data bytes and display

© 2018 Technical University of Mombasa


Page 2 of 4
the results at output PORT 1, EX-OR the lower order bits (D3 – D0) from the two
registers and display the at output PORT 2. [10 marks]

QUESTION FIVE

a) An 8 bit microprocessor with a 16-bit address bus requires PROM space of 4K bytes
and RAM spaces of 16K bytes, occupying a continuous space.
Draw the memory map of the system.
[6 marks]
b) Describe the operations undertaken by the CPU when it executes the instruction
RET. [2 marks]
c) i) Write an assembly language program to multiply two 8-bit numbers – 08H and
0CH – and store the result in memory location 2500H.
ii) Modify the program in (i) to include a subroutine [12 Marks]

© 2018 Technical University of Mombasa


Page 3 of 4
© 2018 Technical University of Mombasa
Page 4 of 4

You might also like