0% found this document useful (0 votes)
22 views

WINTER

The document outlines the examination structure for the Microprocessor and Interfacing subject at Gujarat Technological University for multiple semesters from Winter 2021 to Winter 2024. It includes instructions for students, a variety of questions covering topics such as microprocessor architecture, assembly language programming, addressing modes, and interrupt handling. Each question is assigned specific marks, and students are required to attempt all questions while making suitable assumptions where necessary.
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)
22 views

WINTER

The document outlines the examination structure for the Microprocessor and Interfacing subject at Gujarat Technological University for multiple semesters from Winter 2021 to Winter 2024. It includes instructions for students, a variety of questions covering topics such as microprocessor architecture, assembly language programming, addressing modes, and interrupt handling. Each question is assigned specific marks, and students are required to attempt all questions while making suitable assumptions where necessary.
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/ 9

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER– VI (NEW) EXAMINATION – WINTER 2021
Subject Code:3160712 Date:26/11/2021
Subject Name:Microprocessor and Interfacing
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) Explain system bus of 8085 microprocessor. 03
(b) Explain following pins of an 8085 microprocessor in brief: 04
1. ALE 2. TRAP 3. READY 4. HLDA
(c) Explain 8085 Programming Model and Flag Register. 07

Q.2 (a) Differentiate 8085 microprocessor with 8086 microprocessor. 03


(b) Draw the timing diagram of MOV M, D instruction of an 8085 04
microprocessor.
(c) Write an 8085 assembly language program to arrange the following 07
numbers in ascending order: 29H, 47H, 06H, 03H, 17H.
OR
(c) Write an 8085 assembly language program to arrange the following 07
numbers in descending order: 29H, 47H, 06H, 03H, 17H.

Q.3 (a) Explain subroutine with suitable example. 03


(b) Explain following instructions with no. of bytes, machine cycles and T- 04
states required for execution: 1. SHLD 2. RAL
(c) Ten 8-bit values are stored from memory location 5000H onwards. 07
Write an 8085 assembly language program to add POSITIVE values on
addresses starts from 5100H and NEGATIVE values on addresses starts
from 5200H.
OR
Q.3 (a) What is interrupt? List hardware interrupts of 8085. 03
(b) Explain following instructions with no. of bytes, machine cycles and T- 04
states required for execution: 1. CALL 2. CPI
(c) Ten 8-bit values are stored from memory location 3000H onwards. 07
Write an 8085 assembly language program to find the largest value and
stored it on the location 4000H.

Q.4 (a) What will be the value in accumulator, for the given 8085 program 03
below?
MVI C,7FH
MVI B, 3EH
MOV A, B
RLC
RLC
ANI 7FH
HLT

(b) Consider the following 8085 assembly language instructions: 04


LXI D, 1234H
1
NEXT: DCX D
MOV A, E
ORA D
JNZ NEXT
What amount of delay is generated if the crystal frequency is 4 MHz?
(c) Explain various addressing modes of 8085 microprocessor. 07
OR
Q.4 (a) What will be the value in accumulator, for the given 8085 program 03
below?
MVI A, 07H
RLC
MOV B,A
RLC
RLC
RLC
ORA B
HLT
(b) Write an 8085 assembly language program to convert a two-digit BCD 04
number into its equivalent hexadecimal number.
(c) Define the followings: Machine Cycle, T-state, JC, CMP, RET, SBB, 07
STC

Q.5 (a) Explain format of the descriptor in 80386 with diagram. 03


(b) Draw block diagram of 80286 microprocessor. 04
(c) Draw and explain the block diagram of the programmable peripheral 07
interface 8255A.
OR
Q.5 (a) List and explain the segment registers of 8086 microprocessor. 03
(b) Draw block diagram of 80386 microprocessor. 04
(c) Draw and explain the block diagram of the programmable interrupt 07
controller 8259A.

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

2
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI(NEW) EXAMINATION – WINTER 2022
Subject Code:3160712 Date:14-12-2022
Subject Name:Microprocessor and Interfacing
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) Discuss various types of addressing modes of 8085. 03


(b) What are the advantages of an assembly language in comparison with 04
high level languages?
(c) Draw and explain the block diagram of a microprocessor 8085. 07

Q.2 (a) How does the microprocessor differentiate among a positive number, 03
negative number and a bit pattern?
(b) LOOP: LXI H, 1234H 04
DCX H
JNZ LOOP
Find out the mistake(s) in the above program and write the correct
program so that it does not become infinite loop.

(c) TUBE POWER I- 07


PC LAPTOP LAMP FAN AC
LIGHT BANK PAD
Assume that above electronic items are plugged in single electric
board.
Here switch S7, S6, S5, S4, S3, S2, S1 and S0 are connected to the data
line D7, D6, D5, D4, D3, D2, D1 and D0 respectively. When all the
switches are OFF, the microprocessor reads the data FFH (for all
switches ON the data will be 00H). Initially all the switches are ON.
Write assembly language program for the following scenarios:
1. Krunal prefer to do work in night only if AC, LAMP and
LAPTOP are ON.
2. Chirag never use I-PAD if PC and POWERBANK are ON.
3. Arkil feels comfortable to work on PC if AC and TUBE LIGHT
are ON.
4. Avadh never take concern of electricity bill and work only if
POWER BANK and LAMP are OFF.
5. In day time we prefer to do work with availability of FAN and
PC.
OR
(c) Write an assembly language program to provide the given ON/OFF time 07
to traffic lights (Red, Green, and Yellow) and two pedestrian signs (Walk

1
and Don’t Walk). The signal lights are turned ON/OFF by the data bits of
PORT1 and gives output as shown below,

No Light Data Bits On Time


1 Red D1 40 Seconds
2 Green D3 30 Seconds
3 Yellow D5 10 Seconds
4 Walk D6 30 Seconds
5 Don't Walk D7 50 Seconds

The traffic and pedestrian flows are in the same direction; the pedestrian
should cross the road when the Green light is ON. Also write Delay
subroutine to generate appropriate delay. Assume to turn ON Light, a “0”
logic level required at corresponding data bits of the output port.

Q.3 (a) What are the states of the Auxiliary Carry (AC), Carry (CY), sign(S) and 03
parity (P) flags after executing the following 8085 program?
MVI L, 5DH
MVI A, 6BH
ADD L
(b) Explain 8085 Programming model and classify instruction set on the 04
basis of different addressing modes.
(c) 2100 LXI H, 1234H 07
MVI A, 55H
ADD M
What is the size of ADD M instruction? Name the machine cycles. Draw
machine cycle and T-state diagram and specify the content of address bus,
data bus and control signals *RD, *WR, IO/*M and ALE signals and status
signals S1 and S0 for every T states of ADD M instruction only.

OR
Q.3 (a) What are the states of the Auxiliary Carry (AC), Carry (CY), sign(S) and 03
parity (P) flags after executing the following 8085 program?

MVI A, A9H
MVI B, 57H
ADD B
ORA A
(b) Explain One byte, Two byte, Three byte and write short note on different 04
types of instruction sets.
(c) Specify the addressing mode, required Machine cycles, T-States and 07
function for following instructions :

1. MVI M, 45H
2. RAL
LHLD 2300H

Q.4 (a) Difference between RLC and RAL instruction. 03


(b) Differentiate between maskable and non-maskable interrupts. 04
(c) What is a flag Register? Enlist and explain various types of flags. 07
OR
Q.4 (a) Difference between RRC and RAR instruction. 03
2
(b) What is vectored and non-vectored interrupts? 04
(c) Describe the functions of 07
(1) READY PIN
(2) ALE
(3) HOLD
(4) X1 and X2
(5) SID and SOD
(6) IO/M 22.
(7) HLDA

Q.5 (a) List features of 80386 microprocessor. 03


(b) Draw block diagram of SUN SPARC architecture. 04
(c) Explain the internal Block diagram of 8259A. 07
OR
Q.5 (a) List features of 80486 microprocessor. 03
(b) Draw logical block diagram of ARM 7 architecture. 04
(c) Explain the internal Block diagram of 8255A. 07

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

3
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – WINTER 2023
Subject Code:3160712 Date:05-12-2023
Subject Name: Microprocessor and Interfacing
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 the difference between a microprocessor and a microcomputer. 03
(b) Define significance of ALE pin with example or a diagram. 04
(c) Draw and Explain Pin diagram of 8085. 07

Q.2 (a) Explain Assembler, Debugger and Linker with an example. 03


(b) Explain Read/ Write control signals for memory and I/O. 04
(c) Draw and Explain Timing Diagram of MVI A, 45h. 07
OR
(c) List instruction set of 8085. Also explain timing diagram of two-byte 07
instructions.
Q.3 (a) Find the ending address of an 8K-byte memory if the starting address is 03
'0'
(b) What are the contents in Register H and L after executing the following 04
8085 program?
MVI L, 01H
MVI H, 00H
INX H
(c) Write an assembly language program to find the larger number from given 07
two numbers stored at 2501H = 98H, 2502H = 87H result store at 2503H.
OR
Q.3 (a) What is the ending address of a 2K-bytes memory whose starting address 03
is 3000H.?
(b) What are the states of the Carry (C), Zero (Z) flags and content in 04
Accumulator (A) after executing the following 8085 program?
MVI L, 01H
MVI A, 00H
SUB L
(c) Write an assembly language program to find the smaller number from 07
given two numbers stored at 2501H = 84H, 2502H = 99H result store at
2503H.
Q.4 (a) Explain General purpose Data register. 03
(b) Explain Indirect and Immediate addressing mode with example. 04
(c) Explain 8085 Programming model and classify instruction set on the basis 07
of different addressing modes.

OR
Q.4 (a) Explain various flags use in 8085. 03
1
(b) Give comparison of Memory mapped I/O and Peripheral mapped I/O. 04
(c) Explain One byte, Two byte, Three byte and write short note on different 07
types of instruction sets.
Q.5 (a) Differentiate between maskable and non-maskable interrupts. 03
(b) Explain various types of conditional jump instructions with example. 04
(c) Draw and explain the architecture of SUN SPARC microprocessor. 07
OR
Q.5 (a) Differentiate vectored and non-vectored interrupts. 03
(b) How many interrupts are there in 8085? Name them. Explain the 04
characteristics in terms of maskability, vectoring and priority.
(c) Give ARM architecture features and explain block diagram of ARM. 07

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

2
Enrolment No./Seat No_______________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE- SEMESTER–VI (NEW) EXAMINATION – WINTER 2024
Subject Code:3160712 Date:25-11-2024
Subject Name:Microprocessor and Interfacing
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) List the key parts of a microprocessor and give a short explanation of 03
their functions.
(b) Explain memory and I/O operations in a microprocessor. 04
(c) Describe the architecture of the 8085 microprocessor with a neat 07
diagram.

Q.2 (a) Explain Assembler, Debugger and Linker with an example. 03


(b) Explain Read/ Write control signals for memory and I/O. 04
(c) Draw and Explain Timing Diagram of MVI A, 45h. 07
OR
(c) Identify the machine cycles in the following instructions 07
1. SUB B
2. ADI 47H
3. STA 2050H
4. PUSH B

Q.3 (a) Explain the function of the program counter and stack pointer in the 03
8085 microprocessor.
(b) Describe the instruction cycle and machine cycles of the 8085 04
microprocessor.
(c) Create an assembly program that demonstrates the process of 07
demultiplexing the address and data bus in the 8085 microprocessor,
and provide an explanation of how it works.
OR
Q.3 (a) What is the role of the ALU and control unit in the 8085 03
microprocessor?
(b) Explain the memory interfacing with the 8085 microprocessor. 04
(c) Construct an 8085-assembly language program that takes two values 07
and executes arithmetic addition, subtraction, and a logical AND
operation.

Q.4 (a) Define I/O ports and describe their role in the process of microprocessor 03
interfacing.
(b) Explain the working of the 8255 Programmable Peripheral Interface. 04
(c) Discuss the interrupt architecture of the 8085 microprocessor, focusing 07
on both hardware and software interrupt types.
OR
Q.4 (a) Define the concepts of stack and subroutines in the context of the 8085 03
microprocessor.

1
(b) Describe how the 8259A Programmable Interrupt Controller functions 04
and how it is utilized in microprocessor systems.
(c) Create an 8085-assembly language routine to implement a delay, 07
utilizing both counters and the stack.

Q.5 (a) Describe the concept of segmentation in the 8086 microprocessor. 03


(b) Compare the minimum mode and maximum mode of the 8086 04
microprocessor.
(c) Summarize the architecture and programming model of the 80386 07
microprocessor.
OR
Q.5 (a) Describe the pin configuration of the 8086 microprocessor in detail. 03
(b) How does the 80286 microprocessor improve upon the 8086, 04
particularly in terms of memory management?
(c) Summarize the programming model and data types available in the 07
80286 microprocessor.

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

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