CSJM University Kanpur B Tech Microprocessor Paper 2017
B.tech Microprocessor Papers
UNIVERSITY INSTITUTE OF ENGINEERING & TECHNOLOGY
MID- SEMESTERENAMINATION -2017 CSJM KANPUR
ELECTRONICS & COMM. ENGG
SUB MICROPROCESSOR CODE: ECE-S 304/401 TIME 1:30
Note: Attempt all the questions. Attempt all sub-parts of a question at a place.
Q 1- Calculate, how many address lines and data lines are necessary to address 4 Megabytes of memory.
Q 2- Explain the status signals of the processor.
Q 3- Explain the working of DAA instruction with example.
Q 4- What is a stack top? Explain XTHL with an example.
Q 5- Calculate the execution time of the following program if the crystal frequency of an 8085 system is 4MHz
LXI D, AB05H
L1:LDAX D
DCR E
JNZ
Q 6- LXI SP, 0010H
LXI D, 0040H
LXI B, 0030H
LXI H, 0020H
DAD SP
SPHL
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- A block of 10 bytes is present in memory from location ABCD H.Write an ALP to arrange this data block in reverse order from the location DCBA H.
Q 8- 20 data bytes are stored from memory location 4000 H onwards. Write an ALP to find the even and odd numbers and if the numbers are even then store it from 5000 H onwards otherwise, store it from 6000H onwards.