MPMC MID 1 2020

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Enrollment No.

______________________
SITARAMBHAI NARANJI PATEL INSTITUTE OF
TECHNOLOGY & RESEARCH CENTRE
Affiliated to
GUJARAT TECHNOLOGICAL UNIVERISTY
MID SEMESTER EXAMINATION -I (2020)
SUBJECT NAME (SEM-4) MICROPROCESSOR & MICROCONTOLLER
SUB CODE: 3141008
DATE- 27/02/2020 Time 10:00 to 11:15 am
Marks- 30
Instructions
a) Attempt all questions
b) Make suitable assumptions wherever necessary
c) Figure to the right indicate full marks

Q.1 (a) Explain the architecture of 8085 microprocessor with functional block diagram. 06
Q.1 (b) List four major differences between a microprocessor and microcontroller 03
OR
Q.1 (b) What is multiplexing? Explain multiplexing for address and data bus for 8085 03
microprocessor with neat diagram.
Q.2 (a) Draw and explain the status register of AVR Microcontroller 03

Q.2 (b) Explain the internal architectural diagram of AVR microcontroller. 06


OR
Q.2 (a) Explain the following instructions with example: 1. NEG 2. SWAP 3. SBI 4. LSL 04
Q.2 (b) Write a program (in Assembly) to copy a block of 5 bytes of data from data memory location 05
starting at $130 to RAM location starting at $60
Q.3 (a) Explain the functioning of DDRX, PORTX, and PINX registers with necessary example 03
Q.3 (b) 04
Q.3 (c) Explain conditional branch instructions BREQ and BRNE with examples. Write an AVR 05
ALP to toggle PA0 pin 100 times using conditional branch instruction.
OR
Q.3 (a) A switch is connected to pin PB0 and an LED to pin PB7.Write a program (in Assembly or C) to 03
get the status of Switch and send it to LED.
Q.3 (b) List addressing modes of AVR and explain any two with example. 04
Q.3 (c) Write an AVR ALP to load I/O register of Port B with the value 0x55 and complement 05
I/O register of Port B 10 times.

You might also like