0% found this document useful (0 votes)
13 views12 pages

Ilovepdf Merged

The document outlines examination details for the Microprocessors and Microcontrollers course at Gujarat Technological University, including subject codes, dates, times, and total marks. It contains a series of questions divided into five sections, covering topics such as RISC and CISC architectures, 8051 microcontroller functions, assembly language programming, and interfacing with various components. Each question specifies the marks allocated and includes options for alternative questions.

Uploaded by

parthchampanera4
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)
13 views12 pages

Ilovepdf Merged

The document outlines examination details for the Microprocessors and Microcontrollers course at Gujarat Technological University, including subject codes, dates, times, and total marks. It contains a series of questions divided into five sections, covering topics such as RISC and CISC architectures, 8051 microcontroller functions, assembly language programming, and interfacing with various components. Each question specifies the marks allocated and includes options for alternative questions.

Uploaded by

parthchampanera4
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/ 12

Enrolment No.

/Seat No_______________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER–VI (NEW) EXAMINATION – WINTER 2024
Subject Code:3160914 Date:20-11-2024
Subject Name:Microprocessors and Microcontrollers
Time:02:30 PM TO 05:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
Marks
Q.1 (a) State the difference between RISC and CISC architecture 3
(b) What is the size of address and data bus in 8085? Are they unidirectional or 4
bidirectional? Show, how a 2K memory can be interfaced with 8085?
(c) Draw and explain architectural block diagram of 8085 microprocessor 7

Q.2 (a) Give the function of RS0 and RS1 bits in PSW register of 8051 3
(b) State the significance of PC and DPTR register of 8051 4
(c) Draw and explain timing diagram of MVI instruction of 8085 7
microprocessor
OR
(c) Draw and explain the internal RAM structure of 8051. Show register banks 7
and bit addressable area of 8051

Q.3 (a) Explain the function of the following pins in 8051 3


(i) INT0 (ii) RXD (iii) EA
(b) Explain the following instructions of 8051 giving appropriate examples (i) 4
CJNE (ii) JBC
(c) Discuss the different types of bit manipulation instructions available with 7
8051
OR
Q.3 (a) Write an ALP to divide the data in RAM location 3FH by the number 12. 3
Put the quotient in R4 and remainder in R5.
(b) Write an ALP to subtract the contents of register R2 from the number F3H 4
and put the result in external RAM location 5678H
(c) With the help of appropriate examples, discuss the different types of rotate 7
instructions available with 8051

Q.4 (a) A certain instruction requires two machine cycles for execution. If the clock 3
frequency is 11.0592 MHz determine the time required to execute the
instruction
(b) What is the significance of GATE bit in TMOD register? 4
(c) Give the format of TCON register and explain the function of each bit. 7
OR
Q.4 (a) Give difference between simplex, half duplex and full duplex transmission 3
(b) Write an assembly language program for 8051 to transfer the letter “A” 4
serially at 4800 baud continuously. Assume XTAL = 11.0592 MHz
(c) Write a C program to alternately display 55H and AAH on P1 port with 7
some delay

Q.5 (a) Give interrupt vector table of 8051. Discuss their priorities 3
(b) Discuss the format of IE register and explain the function of each bit 4
(c) Draw and explain how 8051 can be connected to external 8K RAM. Which 7
ports are used for address and data lines?
OR
Q.5 (a) What is meant by pipelining? How it affects execution speed? 3
(b) Discuss the format CPSR register in ARM. State the different operating 4
modes of the processor.
(c) What is stepper motor? State some of its applications. Draw and discuss 7
how 8051 can be interfaced with stepper motor?

*******************
Enrolment No./Seat No_____________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2024
Subject Code:3160914 Date:15-05-2024
Subject Name:Microprocessors and Microcontrollers
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

MARKS

Q.1 (a) State the size of address and data bus in 8085. Explain how they are 03
multiplexed?
(b) State the difference between Van Neumann and Harvard architecture 04
(c) Draw and discuss the timing diagram of MVI instruction of 8085 07
microprocessor

Q.2 (a) Answer the following: 03


(i) Which port in 8051 cannot be used for any dual function?
(ii) Give the names of hardware and software interrupts of
8051.
(iii) How much RAM and ROM is available internally in 8051?
(b) Give the function of the following pins of 8051. 04
(i) TXD (ii) EA
(c) Draw and explain architectural block diagram of 8051 07

OR
(c) Write an ALP to separate out positive, negative and zero numbers in an 07
array in external memory starting from 3000H. The array is 10 bytes long.
Store the count of positive, negative and zero numbers in internal RAM
location 30H, 31H and 32H

Q.3 (a) It is required to select register bank 3 in 8051. Explain how it can be 03
done?
(b) If A = (17)10 and B = 3, what will be the data in registers A and B when 04
the following instructions are executed (i) MUL AB (ii) DIV AB. What
will be status of OV flag in both the cases?
(c) Draw and explain the internal structure of P0 and P1 in 8051 07
OR
Q.3 (a) Draw the internal RAM structure of 8051 03
(b) Explain the following instructions of 8015 giving examples 04
(i) CJNE (ii) XRL
(c) Draw and explain the format of TCON and TMOD register. State the 07
function of each and every bit

Q.4 (a) Assume that Timer 1 is operating in mode 2 and the count loaded in timer 03
is F3H. After how much time, timer overflow flag TF1 will get set?
Assume XTAL = 10 MHz
(b) Write an 8051 C program to toggle all the pins of port 1 continuously 04
with some delay
(c) Write an assembly language program to transmit the message “GTU” 07
serially at 9600 baud, 8 bit data, 1 stop bit. Do this continuously
OR
Q.4 (a) Explain SCON and SBUF registers of 8051 03
(b) Write an 8051 C program to toggle pin P1.5 every 50 ms. Use XTAL = 04
11.0592 MHz. Use Timer 0 in mode 1 to generate the delay
(c) Explain IE and IP registers of 8051. State the priorities of interrupts. If IP 07
contains 08H, will the default priorities change? Discuss.

Q.5 (a) How many general-purpose registers are available in ARM in user mode? 03
Also explain the function of SP, PC and LR registers in ARM.
(b) Draw how 4 × 4 matrix keyboard is interfaced with 8051 04
(c) Explain how LCD can be interfaced with 8051? Discuss the commands 07
that are required to be given to initialize the LCD. Write an ALP to
display “YES” on first line of LCD
OR

Q.5 (a) Explain the difference between RET and RETI instruction 03
(b) Explain CPSR format in ARM 04
(c) Explain how external 8K ROM can be interfaced with 8051? Draw the 07
connection diagram. Also discuss the function of ALE signal.

***********
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – WINTER 2023
Subject Code:3160914 Date:02-12-2023
Subject Name:Microprocessors and Microcontrollers
Time:02:30 PM TO 05:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

Marks
Q.1 (a) Explain basic differences between CISC and RISC 03
processor.
(b) Write one instruction each using the following addressing 04
modes.
a. Immediate
b. Register
c. Register indirect
d. Direct

(c) Draw the block diagram of 8051 microcontroller. Explain 07


the working of a) Stack and Stack pointer b) Program
Counter and Data Pointer.

Q.2 (a) Explain the following Pin function of 8051 microcontroller. 03


1) RXD 2) PSEN 3)ALE
(b) Compare MOVX and MOVC instructions. 04
(c) Briefly explain the JMP & CALL instruction available in 07
8051.
OR
(c) Write an assembly program to add 10 bytes in external 07
RAM location 4000H.Store the result at external memory
location 3000H
Q.3 (a) What is the function of the bits TMOD.1 & TMOD.2? 03
(b) Explain the Timer in Mode 0 in 8051. 04
(c) Write an 8051 C program to toggle all the bits of port 0 07
continuously. Use timer 0 to generate 10 sec between each
toggle.
OR
Q.3 (a) Find out the Hex number to be loaded in Timer 0 to produce 03
delay of 4.096ms in mode 0 operation.Assume clock
frequency of 12MHz.
(b) Explain TCON Register for 8051 Microcontroller 04
(c) Write an assembly language program to generate square 07
wave at 10 KHz frequency with timer 0 with mode 2 on Port
pin P0.1.
Q.4 (a) What is the function of SBUF register in 8051? 03

1
(b) Explain how interrupt priority can be changed using IP 04
register. Also explain the default priorities assigned to
interrupts in 8051 microcontroller.
(c) Write an 8051 program to transfer WELCOME serially at 07
9600 baud rate(8 bit data and 1 stop bit) continuously.
OR
Q.4 (a) Explain the bit contents of IE register. 03
(b) Give comparison between Asynchronous and Synchronous 04
serial data transfer
(c) Explain SCON register in 8051 microcontroller. 07

Q.5 (a) Draw and explain 8051 connection to external RAM (8K x 03
8)
(b) List the features of ADC 0804 04
(c) Interface a DAC to 8051 microcontroller and write an 07
assembly language program to generate triangular wave
using DAC interface.
OR
Q.5 (a) List the vector addresses of various interrupts in ARM 03
processor.
(b) Draw an interfacing diagram to interface 4 x 4 matrix 04
keyboard with 8051.
(c) Discuss how the speed and direction of DC motor can be 07
controlled using microcontroller.
.

2
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2023
Subject Code:3160914 Date:04-07-2023
Subject Name:Microprocessors and Microcontrollers
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed

MARKS
Q.1 (a) Give answer to below questions 03
(1) Which machine cycles are used to execute the instruction MOV B, M ?
(2) The addressing mode of MOV A,@R1 instruction is ___________.
(3) Which timer and mode are used for serial communication?
(b) List out differences between Microprocessor & Microcontroller. 04

(c) Draw the architecture block diagram of 8085 and explain flag register in detail. 07

Q.2 (a) Describe the function of following pins of 8085 03


(1) INTA (2) ALE (3) Reset IN
(b) List out the differences between RISC & CISC architecture. 04
(c) Draw and explain the timing diagram of MOV M, D instruction of 8085. 07
OR
(c) What is multiplexing? Explain multiplexing for address and data bus for 8085 07
microprocessors with neat diagram.

Q.3 (a) Explain the difference among MOV, MOVC and MOVX instructions. 03
(b) Draw the TMOD register and write down the steps to program one of the timers in 04
mode1 for generating specific time delay.
(c) Write a program to generate 50Hz frequency signal on Pin 2.3 with the crystal 07
frequency of 11.0592MHz using Timer 0.
OR
Q.3 (a) Explain PSW register of 8051 in detail. 03
(b) List out different conditional jump instructions and explain any two with example. 04
(c) Write a program to find maximum number from a block of five, 8-bit numbers 07
stored from the memory location 30h and store the result at 40h memory location..

Q.4 (a) Explain the difference between RLC A & RRC A instruction. 03
(b) List out different assembler directives and explain any two in detail. 04
(c) Write an assembly language program to convert 8-bit two-digit BCD number 07
system into hexadecimal number system.
OR
Q.4 (a) What is the use of SMOD bit in PCON register? 03
(b) Draw and explain SCON register for serial communication. 04
(c) Write a C program to generate a ramp waveform at port P1 using software delay. 07

1
Q.5 (a) What is the use of Interrupt priority (IP) register? How one can change the interrupt 03
priority?
(b) What is the use of MAX232 IC in serial communication? Explain the difference 04
between MAX232 and MAX233 IC.
(c) Draw and explain the interfacing of common anode 7 segment display with 8051. 07
OR
Q.5 (a) Draw and explain each bit of Current program status register of ARM processor. 03
(b) Interface matrix keyboard with 8051. 04
(c) Write a program to transmit a message “Best of Luck” serially at 9600 baud rate 07
continuously using serial communication. Crystal Frequency :-11.0952MHz.

*************

2
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2022
Subject Code:3160914 Date:01/06/2022
Subject Name:Microprocessors and Microcontrollers
Time:10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
MARKS
Q.1 (a) List various processing modes of ARM processors with classification. 03
(b) With diagram explain complete ARM register set. 04
(c) A 10 bytes of data string is stored at starting from memory location 40h. 07
Write an assembly language program for 8051 microcontroller to transfer
this data string to memory location starting from 50h in reverse order.

Q.2 (a) Explain the function of following pins in 8085 µp: HLDA & HOLD 03
(b) Illustrate how address/data lines AD0-AD7 are de-multiplexed in 8085 04
µp?
(c) A byte is stored in external memory location 2005H. Write an 8051 µc 07
assembly language program to count number of 0’s and 1’s in. Draw
flowchart.
OR
(c) Draw and explain timing diagram of instruction STA 2000H of 8085 µp. 07

Q.3 (a) Explain 8051 program status word (PSW) register in brief. 03
(b) Discuss various addressing modes of 8051 microcontroller assembly 04
language programming.
(c) Write a 8051 assembly language program to generate a square wave of 07
1.5 kHz frequency at P2.0 using Timer 0 in Mode 1 with crystal frequency
of 12 MHz.
OR
Q.3 (a) Explain editor, assembler, compiler and linker 03
(b) Explain all the bits of TCON register. 04
(c) Explain the Interrupt facility of 8051 microcontroller using IE and IP 07
register. Also mention the internal priority of Interrupt and their vector
locations.

Q.4 (a) Write C program to get bit P1.0 and send it to P2.1 after inverting it. 03
(b) Explain interfacing of DC motor using H-bridge circuit with 8051 04
microcontroller.
(c) Write an 8051 program in embedded C to blink the LED connected to pin 07
P1.5 at a suitable delay interval.
OR
Q.4 (a) C programming is more preferred over assembly programming for 8051 03
µc. Justify your answer with proper reason.
(b) Explain interfacing of 8051 with ADC 0808. 04
(c) What is an assembler directive? Give at least four examples of assembler 07
directives and explain function of each in brief.
1
Q.5 (a) Explain basic differences (1) Van neuman and Harvard architecture (2) 03
CISC and RISC.
(b) How baud rate can be set in 8051 microcontroller for serial 04
communication?
(c) Explain and Differentiate between the following instructions of 8051 07
microcontroller.
(i) SWAP and XCHG (ii) MOVX and MOVC
(iii) Bit level ANL and byte level ANL
OR
Q.5 (a) Explain advantages of IDE in program development. 03
(b) Write a short note on available data types in embedded C. 04
(c) Explain every step of the following program and also calculate the 07
frequency of the square wave generated at the end of program execution.
(assume crystal frequency = 11.0592MHz)
MOV TMOD, #20H
MOV TH1, #4H
SETB TR1
L1 : JNB TF1, L1
BACK: CPL P1.5
CLR TF1
SJMP BACK

*************************

2
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI(NEW) EXAMINATION – WINTER 2022
Subject Code:3160914 Date:13-12-2022
Subject Name:Microprocessors and Microcontrollers
Time:02:30 PM TO 05:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
MARKS
Q.1 (a) For 8051 μc operations define: pulse, state and machine cycle. 03
(b) Draw programming model of 8085 microprocessor and explain flag 04
register in brief.
(c) A 10 bytes of data string is stored at starting from memory location 50h. 07
Write an assembly language program for 8051 μc to find out maximum
value from this data string and store that value at register B .

Q.2 (a) What is the function of following pins in 8085: HOLD, READY & 03
RESET OUT
(b) Draw and explain in brief timing diagram for instruction MVI A, 32h. 04
(c) List various processing modes of ARM processors with classification 07
and explain complete ARM register set.
OR
(c) Write assembly language program for 8051 μc to count number of 0’s 07
and 1’s in a byte stored in external memory location C500H. Draw
flowchart.

Q.3 (a) Discuss the internal RAM structure of 8051. 03


(b) Discuss various addressing modes of 8051 microcontroller assembly 04
language programming.
(c) Write a for assembly language program for 8051 μc to toggle all bits at 07
PORT 2 with a time delay of 20 ms without using timers.
OR
Q.3 (a) Explain basic differences (1) Van neuman and Harvard architecture (2) 03
CISC and RISC.
(b) What are tri-state devices & why they are essential in bus oriented 04
system?
(c) Explain the operation of the following instructions of 8051 07
microcontroller in detail:
(i) MOVX (ii) CJNE (iii) DJNZ (iv) XCHD

Q.4 (a) Differentiate between SJMP, AJMP and LJMP for 8051 μc 03
programming.
(b) How baud rate can be set in 8051 microcontroller for serial 04
communication?
(c) Explain the role of SBUF & SCON registers in serial transfer in 8051. 07
OR
Q.4 (a) List out steps in executing an interrupt for 8051 μc. 03
(b) Explain IE register in brief. 04

1
(c) Write a C program using interrupts to make timer 0 to generate a square 07
wave of 5 KHz frequency on P0.1. Assume XTAL =11.0592 MHz.

Q.5 (a) Explain editor, assembler, compiler and linker. 03


(b) What is the normal operating frequency of ADC0804? When interfacing 04
ADC0804 with 8051 μc, what care need to be taken if CLK input is from
8051 μc?
(c) Draw interfacing diagram of 8051 μc to DAC808. For the same 07
connection, consider a switch SW connected to pin P0.1. Write an 8051
μc program: When SW =0, the DAC output gives a staircase waveform
otherwise no action when SW=1.
OR
Q.5 (a) In what way is the ADC0808 is different from ADC0804? 03
(b) Draw interfacing diagram for interfacing of DC motor to 8051 μc using 04
optoisolator and using a MOSFET transistor.
(c) Discuss the interfacing of seven segment display with 8051 with 07
necessary diagram.

*************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy