TECHNICAL UNIVERSITY OF MOMBASA
FACULTY OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF MEDICAL ENGINEERING
UNIVERSITY EXAMINATION FOR:
DIPLOMA IN MEDICAL ENGINEERING
EEP 2351: MICROPROCESSOR SYSTEMS
SPECIAL/SUPPLEMENTARY EXAMINATION
SERIES: SEPTEMBER 2018
TIME: 2HOURS
DATE: Pick DateSep 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. Attempt any THREE questions.
Do not write on the question paper.
QUESTION ONE
a) Given the program in table 1, state the contents of the following during program execution;
i) A, B and C registers
ii) Memory locations, 2000H to 2004 H
(11 marks)
OPCODE ORG 2000H
3E67 MVI A,67H
4F MOV C,A
067B MVI B,7BH
80 ADD B
Table 1
b) Write an assembly language program to sum two 8-bit numbers stored in consecutive
memory locations 2000H and 2001H and place the result in location 4020H.
(9 marks)
©Technical University of Mombasa Page 1 of 3
FACULTY OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF MEDICAL ENGINEERING
UNIVERSITY EXAMINATION FOR:
DIPLOMA IN MEDICAL ENGINEERING
EEP 2351: MICROPROCESSOR SYSTEMS
SPECIAL/SUPPLEMENTARY EXAMINATION
SERIES: SEPTEMBER 2018
TIME: 2HOURS
DATE: Pick DateSep 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. Attempt any THREE questions.
Do not write on the question paper.
QUESTION ONE
a) Given the program in table 1, state the contents of the following during program execution;
i) A, B and C registers
ii) Memory locations, 2000H to 2004 H
(11 marks)
OPCODE ORG 2000H
3E67 MVI A,67H
4F MOV C,A
067B MVI B,7BH
80 ADD B
Table 1
b) Write an assembly language program to sum two 8-bit numbers stored in consecutive
memory locations 2000H and 2001H and place the result in location 4020H.
(9 marks)
©Technical University of Mombasa Page 1 of 3