0% found this document useful (0 votes)
18 views2 pages

Microprocessor Exam Paper Winter 2023

This document is an examination paper for the Microprocessor and Interfacing subject at Gujarat Technological University for Winter 2023. It includes various questions related to microprocessors, memory classification, assembly programming, and interfacing with peripherals. The exam consists of multiple sections, each requiring detailed explanations, diagrams, and programming tasks.
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)
18 views2 pages

Microprocessor Exam Paper Winter 2023

This document is an examination paper for the Microprocessor and Interfacing subject at Gujarat Technological University for Winter 2023. It includes various questions related to microprocessors, memory classification, assembly programming, and interfacing with peripherals. The exam consists of multiple sections, each requiring detailed explanations, diagrams, and programming tasks.
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

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–IV (NEW) EXAMINATION – WINTER 2023
Subject Code:3141710 Date:24-01-2024
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 block diagram of a computer in brief. 03


(b) What is an instruction? Classify 8085 instruction set according to its 04
operation.
(c) With neat diagram explain pin diagram of 8085 microprocessor. 07

Q.2 (a) Explain flag register of microprocessor. 03


(b) Describe demultiplexing the address/data bus with diagram. 04
(c) Draw and explain timing diagram for instruction OUT 05h stored at 07
memory location 2100h. (Opcode: D3h)
OR
(c) With diagram explain interfacing of 4K EPROM memory to 8085 MP with 07
address decoding and address range.

Q.3 (a) Give detailed classification of memory. 03


(b) Describe bus structure of 8085 microprocessor with neat diagram. 04
(c) Write an assembly program to transfer entire block of 10 data values stored 07
starting from memory location 1500h to new memory location starting from
2300h.
OR
Q.3 (a) Explain 4-bit register using four latches. 03
(b) What are four control signals used by 8085? Draw the schematic for control 04
signal generation.
(c) Write an assembly program to read number stored at location 3050h and 07
count number of ones & zeros in the byte. Store count of 1’s at 3051h and
count of 0’s at 3052h.

Q.4 (a) Explain concept of Digital to Analog Converter. 03


(b) List out conditional call and return instructions with their function. 04
(c) i) Draw control word format of 8255A for I/O mode. 07
ii) Write an assembly subroutine to convert binary number to ASCII code.
OR
Q.4 (a) Write & explain set of instructions to enable all interrupts in 8085 system 03
using SIM.
(b) What is subroutine? Explain CALL & RET instructions. 04
(c) Write an assembly program to design the delay loop which generates 10 ms 07
delay. Assume clock frequency as 2 MHz.

Q.5 (a) Draw diagram to interface a keyboard with 8255PPI. 03


(b) Describe 8085 interrupts with their vector locations. 04
(c) Draw and explain block diagram of 8253 Programmable Interval Timer 07
with its control word register.
1
OR
Q.5 (a) Draw diagram to interface a seven segment LED with 8255PPI. 03
(b) Draw block diagram of programmable peripheral interface chip 8255A. 04
(c) Explain successive approximation type ADC with neat diagram. Write steps 07
to interface ADC with 8085.
*****

Common questions

Powered by AI

Designing a delay loop in 8085 requires calculating the number of clock cycles consumed by each instruction and appropriately iterating them to achieve the desired delay. Given a clock frequency, the precise timing can be calculated by summing the cycle times of the instructions involved, and loops are adjusted to reach the required delay. This ensures accurate timing in hardware communication or processing tasks .

Demultiplexing the address/data bus in an 8085 microprocessor is necessary to separate the address and data information as they share the same lines but at different times. A latch is used to hold the address when it's on the multiplexed bus, enabling the proper separation and sequential execution of operations. This ensures correct reading and writing to memory .

The control signals in an 8085 microprocessor coordinate operations between the microprocessor and peripheral devices. These include Read (RD), Write (WR), and ALE (Address Latch Enable). Their timely and accurate generation is crucial for ensuring the correct data flow and communication, impacting system performance significantly by minimizing latching delays and ensuring the integrity of operations .

Subroutines enhance the efficiency and structure of 8085 assembly programs by allowing code reuse and modularity. They enable the separation of repetitive tasks into callable functions, reducing code redundancy and increasing maintainability. Utilizing CALL and RET instructions, programs can branch to and return from subroutine segments, streamlining complex program operation .

A successive approximation ADC interfaces with an 8085 by using control signals to initiate conversions and latch digital results via parallel data lines. This type offers advantages like faster conversion times and a simpler interface over methods such as dual-slope integration. Its precision and efficiency make it suitable for high-speed applications where peripheral response time is critical .

The 8253 programmable interval timer enhances the 8085 system by providing precise timing and counting capabilities, which are crucial for diverse operations like measuring time intervals, generating frequencies, and event counting. It operates in modes including interrupt on terminal count, hardware retriggerable one-shot, rate generator, and square wave mode, each offering unique functionalities for flexible and varied application requirements .

The 8085 instruction set can be categorized into data transfer, arithmetic, logic, branch, and control instructions. This categorization allows for structured programming by enabling complex operations through a combination of basic instructions, utilizing features like looping, branching, and arithmetic operations for effective computational tasks .

Understanding memory classification is crucial for effective interfacing, as different types provide varying features like speed, volatility, and access methods. The 8085 utilizes categories such as RAM for temporary storage and ROM/EPROM for permanent program storage. This allows the microprocessor to efficiently handle tasks requiring different memory characteristics, optimizing performance and resource use .

Address decoding ensures that the correct memory device is selected based on the address lines of the microprocessor. A 4K EPROM requires 12 bits for addressing, and the remaining address lines are used by the decoder to select the EPROM. This method prevents multiple devices from responding to the same address range and allows efficient memory utilization by mapping the EPROM to a specific address range .

The pin diagram of the 8085 microprocessor includes areas for address and data buses, control and status signals, and power supply connections, which collectively enable the microprocessor's efficient processing. The address and data buses facilitate data transfer, while the control signals manage the reading/writing operations and interrupt handling, ensuring the CPU operates seamlessly with peripherals .

You might also like