Microprocessor B tech Mid Paper 2017 CSJM Kanpur University

Microprocessor B tech Mid Paper 2017 CSJM Kanpur University

SUB: MICROPROCESSOR (ECE-S304)  (2k17)                                    MM: 20

SEMESTER: Vth Mid Semester Examination                                       Time: 1.5 Hrs

Note Attempt all the Questions. A calculator is not allowed. No opcode table is allowed.

                                                                      Section-A

Note: Attempt all the questions. Each Question carries 2 Marks.

Q 1- Explain the PSW with an example.

Q 2- Explain in brief the following instructions and also find the addressing mode of the instruction.  

            (i) RAL     (ii) XRA A

Q 3- Write at least Four instructions that reset the Accumulator with proper explanation

                                                                    Section- B

Note: Attempt all the questions. Each Question carries 3 Marks.

Q 4- Calculate the execution time of the instruction SHLD Addr. it the crystal frequency of an 8085 system is 3MHZ. Also, explain the different machine cycles that execute by this instruction.

Q 5- After the execution of the following program. find the final value of registers A, D, E, H, L & Flag by showing the necessary calculations. The program is 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

 Note: Attempt all the questions. Each Question carry 4 Marks.

Q 6- Interface 4 Kbytes EPROM and 2 Kbytes RAM with 8085 system. There should be 2 Kbytes space free between EPROM and RAM. The starting address should be 8000 H Memory devices available EPROM 4K X 8 and RAM 1K X4 Use suitable decoder for chip select logic circuit.

Q 7- Write an ALP to perform the subtraction X Y using 2’s complement method where X and Y are two, 16-bit numbers present in memory from 2000H onwards and 300e H onwards. Store the result in memory from 4000 H onwards.

Read Also-CSJM University Kanpur B Tech Microprocessor Paper 2017

Leave a Comment