fbpx

Microprocessor B.tech Paper 2018 Kanpur University

Microprocessor B.tech Paper 2018 Kanpur University

UNIVERSITY INSTITUTE OF ENGINEERING & TECHNOLOGY

MID – SEMESTER EXAMINATION-2018

B. TECH 3rd YEAR ELECTRONICS & COMM. ENGG.                 Time: 1:30

 

SUB:- MICROPROCESSORCODE :- ECE- S 304 / 401               MM:20

Note: Attempt all the questions.

Q 1- Design memory with the following address range for 8085 system – RAM 8000 TO 9FFFH, EPROM B000 TO BFFF H Memory devices available – RAM 4K X 8 AND EPROM 4K X 4. Use suitable decoder for chip select logic circuit.

Q 2- Find the addressing mode of the following instructions with proper explanation of that addressing mode by giving a suitable example – i) JP Addr    ii) ANA M

Q 3- After the execution of XRA A what is the status of flags.

Q 4- Calculate the execution time of the instruction JNZ Addr if the crystal frequency of an 8085 system is 4 MHz and if PSW = AA H

Q 5- Write an ALP to reset 4 LSB’s, set 4 MSB’s and compliment rest of the bits of register pair H-L.

Q 6- LXI H, 0010H

LXI D, 0020H

DAD D

XCHG

L: DCX D

MOV A, H

ORA E

JNZ L

After the execution of the following program, whether the loop will be executed or not. If executed then how many times this loop will be executed. Give the proper reason and necessary calculation.

Q 7- 10, 8-bit numbers are stored in memory from 6550 H onwards. Write an ALP to add these numbers and store the result at the end of the block. For addition use only double addition instructions.

Q 8- Ater the execution of the following program, find the final value of registers A,D,E,H,L & flag. The program is as given below-

MVI A, 35 H

ADI 20 H

RAL

MOV E, A

ADD A

RAR

MOV D, A

LXI H, AAAAH

DAD D

MOV A, H

RAL

HLT

Leave a Comment