0% found this document useful (0 votes)
11 views14 pages

2015 (1) - Merged

The document outlines examination questions for a Microprocessor and Microcontroller course for Electrical Engineering students. It includes various topics such as 8085 microprocessor functionality, assembly language programming, addressing modes, and interfacing with hardware. Students are required to answer five questions from a selection that covers theoretical and practical aspects of microprocessor technology.

Uploaded by

Anubhab Mitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views14 pages

2015 (1) - Merged

The document outlines examination questions for a Microprocessor and Microcontroller course for Electrical Engineering students. It includes various topics such as 8085 microprocessor functionality, assembly language programming, addressing modes, and interfacing with hardware. Students are required to answer five questions from a selection that covers theoretical and practical aspects of microprocessor technology.

Uploaded by

Anubhab Mitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

[ Turn over

2
3
RefNo : EXlEEI51TI32J I20J6
B. KIN ELECTRICAL ENGINEERING (EVENING) EXAMINATION, 2016
3rd Year, 2nd Semester

SUBJECT: - MICROPROCESSOR AND MICROCONTROLLER

Time: Three hours Full Marks: 100

Answer any five Questions. 5x20


l.(a) Briefly explain the functionality of the following pins of8085 microprocessor: 6
(i) HLDA, (ii) 101M, (iii) RD, (iv) READY, (v) ALE.

(b) Mention a single instruction of 8085 for each of the following operations: 7
(i) Complement the content of Accumulator;
(ii) Load the content of HL register pair into the Program Counter;
(iii) Compare the content of Accumulator with 74H;
(iv) Exchange the content ofHL registers with the top of the stack;
(v) Go back to the main program after completing a subroutine;
(vi) Load the data 8151 H into the register pair Be.

(c) The initial content of Accumulator of 8085 is considered to be D6H and all the 7
bits of the flag register are reset. Write the content of Accumulator and the flag
register after execution of each of the following instructions:
(i) RAR, (ii) CPI 23H, (iii) ADI 75H, (iv) MOY B,A, (v) OCR A, (vi) ORl35H,
(vii) CMA.

2.(a) Draw in details the timing diagram for STA 8500H, the hex code for STA being 7
32H.

(b) Specify the addressing mode of the following 8085 instructions: 3


(i) SUI 52H , (ii ) CMP L, (iii) CMC, (iv) LDAX B, (v) IN 02H, (vi) LDA 8600H.

(c) Discu ss the co ntrol wo rd format for 8255 in BSR mode. 5

(d) What are the opera t ing modes of 8255 ? Specify the functions of Port C in Mode 5
I of 8255 ?

3. Write assembly language program in 8085 to perform the following operations:


(i) Sum of first 30 natural numbers; 4
(ii) Divide the 16 bit number stored in memory locations 8500H and 8501H by 6
the 8 bit number in memory loc ation 8550H. Store the quotient in memory
location 86001-1 and the remaind er in 8650H.
(iii) A subroutine to perform the same as SPHL instruction of8085 . 3
(iv) Cl ear the flag register. 2
(v) Assume DAA instruction is not present. Write a sub routine which will 5
perform same task as DAA.
-- ReINa: EXlEEI51TI32112016
B. E. IN ELECTRICAL ENGINEERING (EVENING) EXAMINATION, 2016
3rd Year, 2nd Semester

SUBJECT: - MICROPROCESSOR AND MICROCONTROLLER

Time: Three hours Full Marks: 100

4. Write the complete format of the following instructions with at least one 4 x5
example for each of the instructions and mention the effects of these instructions
on flags.
(i) CJNE, (ii) MUL, (iii) SUBB , (iv) ANL, (v) ADDC.

5. Write the bit formats offollowing SFRs and mention in short their functions : 4 x5
(i) IP, (ii) TCON, (iii) IE, (iv) TMOD, (v) SCaN.

6.(a) Assume that RAM locations 60H - 66H have following values: 46H, A2H, 10
EFH, 8DH, ABH and D9H, C3H. Write a program to find slim of values. A and
R6 should contain lower and higher byte, respectively.

(b) Write a program to add two 16-bit numbers. The numbers are 3B5EH and 10
B4A3H. Store the sum in R8 and R7; R7 should have lower byte .

7.(a) What are the various modes in connection with timer operation of 8051? Discu ss 10
in details.

(b) How do you interface low-current LEDs and High-current LED s with 10
microcontroller 8051 ? Explain with appropriate schematic diagram.

8. Write short notes any four: 5x4


(a) Microprocessor vs. Microcontroller;
(b) Memory mapped I/O and peripheral mapped I/O;
(c) Different types of flag in 8085
(d) On-chip memory on 8051 ;
(e) Branching instructions of 8051;
(f) Overflow flag in Arithmetic operation.
RefNo: EX/EE/5/T/321/20 17(old)
B. E. IN ELECTRICAL ENGINEERING (EVENING) EXAMINATION, 2017
3rd Year, 2nd Semester (old)

SUBJECT: - MICROPROCESSOR AND MICROCONTROLLER

Time: Three hours Full Marks: 100

Answer any five Questions. 5x20

1. a. Explain the different addressing modes of 8085 with example. 6+4+ 10


b. Briefly describe the function of stack and stack pointer of Intel 8085
mIcroprocessor. .
c. Explain with suitable diagram, the de-multiplexing method of the
Intel 8085 microprocessor bus pins AD7 - ADO.

2. a. Write an assembly language program to sort 8 single byte data stored 10+ 10
in consecutive memory locations in descending order and save data
in the same block of memory location.

b. Draw a detailed timing diagram with relevant CPU signals and show
that the execution of the instruction "STA 8050" of Intel 8085
requires 4 machine cycles and 13 T - states. Also explain in details
what is happening in each T - state.

3. a. A l o-bit number is stored in memory locations 8500H and 850lH 10+10


and 8-bit number in 8502H. Divide the former by the later: store the
quotient in 8600H and 860lH and the reminder in 8602H and
8603H.
b. State the functions of the following pins of 'Intel 8085
microprocessor
(i) ALE;
(ii) READY;
(iii) 10/ M.,
(iv) SID & SOD',
(v) HOLD & HLDA

4. a. What are the different addressing modes of 805l? Explain with 10+ 10
necessary examples.
b. Draw an appropriate hardware diagram showing the interface of a 7-
segment display module with microcontroller and write a program to
display the character' A'.
RefNo: EXlEE/5/T/321 /2017(old)
B. E. IN ELECTRICAL ENGINEERING (EVENING) EXAMINAnON, 2017
3rd Year, 2nd Semester (old)

SUBJECT: - MICROPROCESSOR AND MICRO CONTROLLER

Time: Three hours Ful1 Marks: 100

5. a. Write a program to receive a block of 20 data through the serial port 10+10
and store them in internal memory starting from the address 40h
onwards. Assume 9-bit data and a baud rate of 4800. Write
appropriate comment in favour of your solution.
b. Write a program to blink LED every lOOms using timer -I in mode-l
using interrupt driven method. Assume that the LED is connected to
Pl.5 ofthe micro controller.

6. a. Describe in brief the interrupt sequence of an 8051 microcontroller. 7+6+ 7


b. What is interrupt priority? How does it work in interrupt process?
c. Illustrate the role of program counter and stack pointer in branching
instructions.

7. a. Write the name of flags and the way they are affected after the 10+10
following instructions are executed.
i) DIV ii) CJNE iii) SUBB iv) MOV v) MUL
b. Write the commands of various' branching instructions available in
8051 microcontroller. Mention their complete formats, range of
jumps and associated constraints.

8. Write short notes on any Two: 10x2


a. DMA Controller (8257);
b. Interrupts ofIntel 8085 microprocessor
c. SFRs for timer-counter
d. Program counter in branching instructions (8051).
ReiNa: EXlEE/5/T/321/2017
B. E. IN ELECTRICAL ENGINEERING (EVENING) EXAMINATION, 2017
3rd Year, 2nd Semester

SUBJECT: - PROGRAMMABLE LOGIC AND MICROCONTROLLER

Time: Three hours Full Marks: 100

Answer any five questions. 20x5

1. a. Describe the working principle of an EPROM device. 7+7+6


b. How does a transistorized switch driven by SRAM Cell work to
interconnect row and column wires?
c. Why has In-System Programming become popular over out-of-board
programming?

2. a. Describe in brief the switching technologies adopted 1D constructing 10+ 10


FPGA.
b. Give a complete circuit of PAL and explain the working principle of each
part.

3. a. Using a diode-based AND matrix and transistorized OR matrix, draw a 10+10


complete circuit to implement a full-adder block. Explain your solution.
b. What is anti fuse? Explain its working principle, merits and demerits of its
use .

4. a. Write a program in VHDL to generate a clock of 5KHz frequency from an 10+10


existing on-board clock of 50!'/1Hz.
b. Write a program in VHDL to implement a n-to-2n decoder.

5. a. What are the different addressing modes of 8051 ? Explain with necessary 10+10
examples.
b. Draw an appropriate hardware diagram showing the interface of a 7-
segment display module with microcontroller and write a program to
display the character' A'.

6. a. Write a program to receive a block of 20 data through the serial port and 10+10
store them in internal memory starting from the address 40h onwards.
Assume 9-bit data and a baud rate of 4800. Write appropriate comment in
favour of your solution.
b. Write a program to blink LED every lOOms using timer-l in mode-l
using interrupt driven method. Assume that the LED is connected to P 1.5
of the microcontroller.
RefNo: EX/EE/5/T/321 /2017
B. E. IN ELECTRICAL ENGINEERING (EVENING) EXAMINAnON, 2017
3rd Year, 2nd Semester

SUBJECT: - PROGRAMMABLE LOGIC AND MICRO CONTROLLER

Time: Three hours Full Marks: 100

7. a. Write the name of flags and the way they are affected after the following I 0+ 10
instructions are executed.
i) DIV ii) CJNE iii) SUBB iv) MOV v) MUL
b. Write the commands of various branching instructions available in 8051
microcontroller. Mention their complete formats, range of jumps and
associated constraints.

8. Write short notes on any FOUR: 4x5


a. JTAG cable;
b. LAB in CPLD;
c. LUT and its application;
d. Macrocell and its implementation;
e. SFRs for timer-counter;
f. Program counter in branching instructions (8051).
[ Turn over
2
3
[ Turn over
2

You might also like