Está en la página 1de 3

Microprocessors and Interfacing Mid Exam

መቐለ ዩንቨርስቲ
MEKELLE UNIVERSITY
ኢንስቲቱት ቴክኖሎጂ መቐለ
MEKELLE INSTITUTE OF TECHNOLOGY

Microprocessor and interfacing Midterm exam (30%)

Date April 13, 2018

Course Instructor: Kinfe Teka Niguse (M.Sc.)

Full Name ____________________________ section ____ ID ______

Time given 2:30 hours

Instructions:

Switch off your mobiles


Write your Name, ID, Section
Make sure there are 3 pages
Every question has 3 points

Page 1|3
Microprocessors and Interfacing Mid Exam

Part I: Answer the following questions in the space provided

(1) Which two of the following terms is instruction set in 8085 microprocessor?
A. RTN C. DELL E. RST 5.5 G. XTML
B. NOP D. PSW F. XTNL
(2) Which one of the following instructions is not base plus indexed addressing mode?
A. Mov ax, [bx+si]
B. Mov bx, [si+di]
C. Add cx, bx[si]
D. Sub ax, bp[di+3]
E. ALL
F. NONE
(3) What are outputs of the following 8086 programs in register A, BC, DE, HL? N.B- Use
defaulting for missed registers.

___________________________________________________________________

(4) Suppose stack memory implementation in 8085, content of top of the stack is 2098 follows. Then
what will be output of H and L registers after the operation POP H is executed?

(5) When event that switches programs counter values happens to microprocessor, how
microprocessor perform action to each of the following?
C. Hardware interrupts
D. Software interrupts
E. CALL instruction
F. JMP instruction
(6) Mention the priority level of interrupts in 8085. And answer the following
a. What is service routine address of trap interrupt?
b. How to clear trap interrupt?
(7) Mention the functionality of SIM and RIM in 8085 microprocessor?

Page 2|3
Microprocessors and Interfacing Mid Exam

(8) Mention the use of ALE – address latch enable signal. Mention the signals for DMA- direct
memory access in 8085?
(9) The 8086 microprocessor has 16 bit registers but 1MB of memory can be addressed. Prove that
with concept of segmentation.
(10) For each of the following 8086 microprocessor instructions comment what operations is
performed, and compute memory addresses (physical addresses in 8086). Assume: CS = 0100 :
DS = 0200 : SS 0300 : ES = 0400 : BP = 0010 : BX = 0020 : SP = 0030 : SI = 0040 : AX= 0345
:CX =0521 : flag register 0000H
a) MOV AL, [BX]
b) ADD AX,[BP+SI]
c) XCHG AX, [BX]
d) SAL CX, AX
e) AAA

Page 3|3

También podría gustarte