THEORY EXAMINATION (SEM–IV) 2016-17 MICROPROCESSOR

B.Tech General 0 downloads
₹29.00

Course: B.Tech (Electrical / Electronics Engineering)
Subject Code: EE402
Subject Title: Microprocessor
Exam Type: Theory
Duration: 3 Hours
Maximum Marks: 100

SECTION – A (10 × 2 = 20 Marks)

Short conceptual questions testing basics of 8085 and 8086

No.QuestionExplanation
(a)What is a Microprocessor?CPU on a single IC performing ALU, control, and data operations. 
• 8085 operates at 5V supply and clock frequency = 3 MHz (typical).
(b)Functions of AccumulatorStores arithmetic and logical results; central register for data manipulation.
(c)Define SubroutineA reusable block of instructions executed when called by CALL, returned by RET.
(d)IO/M’ Signal (8085)Differentiates I/O and memory operations: IO/M’=0 → memory, IO/M’=1 → I/O.
(e)Memory Chip CalculationMemory needed = 128 KB = 131,072 bytes. Chip size = 2048 × 1 = 2048 bits = 256 bytes. 
131,072 / 256 = 512 chips required.
(f)Define InterfacingProcess of connecting microprocessor to peripherals or memory ensuring proper signal communication.
(g)CALL & RETCALL saves return address to stack and jumps to subroutine; RET retrieves it and resumes program.
(h)Segment Registers in 8086CS, DS, SS, ES – divide memory (1MB) into 64KB segments for modular access.
(i)PipeliningTechnique allowing simultaneous fetch and execution of instructions to increase throughput.
(j)Instruction Queue in 8086Prefetches up to 6 bytes in queue for faster execution via overlapping fetch and decode stages.

SECTION – B (5 × 10 = 50 Marks)

Descriptive questions combining theory, diagrams, and assembly programming

(a) Timing Diagram – Memory Write Cycle

Sequence: Opcode Fetch → Address on bus → Data transfer → Write enable.

Control Signals: ALE, WR’, IO/M’, READY, S0/S1.

Used to show synchronization between control, address, and data lines.

(b) 8255 Programmable Peripheral Interface (PPI)

Ports: A, B, C (8-bit each).

Groups: Group A (Port A + upper C), Group B (Port B + lower C).

Modes:

Mode 0 – Simple I/O

Mode 1 – Strobed I/O

Mode 2 – Bidirectional I/O

Used for keyboard, display, ADC/DAC interfacing.

(c) 8086 Architecture

Divided into Bus Interface Unit (BIU) and Execution Unit (EU).

BIU: Handles instruction fetch, queue, memory addressing.

EU: Executes instructions using ALU, registers, and control logic.

Memory addressing: 20-bit → 1 MB memory access.

(d) Addressing Modes of 8086

Immediate: MOV AX, 05H

Register: MOV BX, AX

Direct: MOV AX, [2000H]

Register Indirect: MOV AX, [BX]

Indexed/Base-Indexed: MOV AX, [BX+SI]

(e) Addressing Modes of 8085

Immediate → MVI A, 55H

Register → MOV A, B

Direct → LDA 2050H

Indirect → MOV A, M

Implied → CMA

(f) 8085 Architecture

Components: ALU, registers (A, B, C, D, E, H, L), accumulator, program counter, stack pointer, and flag register.

Control signals: RD’, WR’, ALE, IO/M’.

Clock frequency: 3 MHz typical; single +5V supply.

(g) Assembly Program – Division

Write a program to divide a 16-bit number by 8-bit number:

Load dividend (16-bit) into DE.

Load divisor into C.

Use subtraction or repeated division logic.

Store quotient and remainder in memory.

(h) Short Notes

Assembler-Level Program (ASM): Converts mnemonics into machine code.

Memory Space: Allocation of program and data memory in microprocessor address map.

SECTION – C (2 × 15 = 30 Marks)

In-depth analytical and programming questions

Q3. Programmable Timer/Counter (8254/8253)

Features: 3 independent 16-bit counters, 6 modes of operation.

Modes:

Interrupt on terminal count

One-shot

Rate generator

Square wave generator

Software triggered strobe

Hardware triggered strobe

Used in real-time systems for clock generation, frequency division, and pulse control.

Q4. DMA Controller (8237)

Purpose: Transfers data directly between memory and I/O without CPU involvement.

Blocks: Address register, count register, control logic, and DMA channels (0–3).

Operating Modes:

Demand Mode

Single Transfer Mode

Block Transfer Mode

Cascade Mode

Improves system performance by freeing CPU during large data transfers.

Q5. Assembly Program – Counting 0–9

Objective: Count 0 to 9 with a 1-second delay and repeat.

Logic:

Initialize accumulator and counter to 0.

Output count to a port (e.g., Port A).

Generate 1-second delay using HL pair loop (1 MHz clock).

Increment count; reset after 9.

Hint: Delay loop:

  • 1 MHz clock → 1 μs per cycle → design loop ≈ 10⁶ cycles.\text{1 MHz clock → 1 μs per cycle → design loop ≈ 10⁶ cycles.}1 MHz clock → 1 μs per cycle → design loop ≈ 10⁶ cycles.

 Summary

The Microprocessor (EE402) paper comprehensively evaluates:

8085 & 8086 architecture, timing, and addressing modes

Peripheral interfacing (8255, 8237, 8253)

Assembly language programming

Memory mapping and I/O operations

Basic concepts of pipelining and instruction queue

File Size
181.97 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Yoga Classes (Home or Online) Near Sushant Lok Phase 3 – Transform Your Health Naturally Phase 3 Sushant Lok, Gurugram
Accounts & Commerce Classes Near By Dwarka Mor Professional Coaching Dwarka Mor, Delhi
Guitar Classes Near Mehrauli – Professional Guitar Training in South Delhi Mehrauli, Delhi
Study Abroad Consultation Near Sector 101 Dwarka Expressway, Gurugram – Your Gateway to Global Education Gurugram
Spoken English Classes Near By Kirti Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Kirti Nagar, Delhi
Data Analytics Course Near Sector 63A Gurugram – Build a High-Demand Career in Data Sector 63A, Gurugram
Voice-over Training Near Sushant Lok Phase 1 – Learn Professional Voice Acting Phase I Sushant Lok, Gurugram
Home Tuition (All Subjects) Near Sector 88 Gurugram – Personalized Learning for Academic Excellence Sector 88, Gurugram
Yoga Classes Near Sector 137 Greater Noida – Improve Health, Fitness and Mental Well-Being Through Professional Yoga Training Sector 137, Noida
Harmonium Classes Near By Saket – Learn Classical & Devotional Music with Confidence Delhi
Violin Classes Near DLF Phase 5 – Learn Classical & Modern Violin from Expert Teachers DLF Phase V, Gurugram
Spoken English Classes Near Sector 117 Noida – Improve Fluency, Confidence and Communication Skills Noida
App Development Classes Near Uttam Nagar – Build Android & iOS Apps Uttam Nagar, Delhi
IELTS Coaching Near Sector 57 Gurugram – Expert Training for High Band Scores Gurugram Sector 57, Gurugram
English Spoken Classes Near Rosewood City – Improve Your Confidence and Fluency Rosewood, Gurugram
Voice-over Training Near Sushant Lok Phase 2 – Build a Powerful & Professional Voice Career Gurugram
Soap Making Classes Near By Dwarka Mor – Learn Handmade & Herbal Soap Crafting Dwarka Mor, Delhi
Spoken English Classes Near By Chhatarpur Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Chhatarpur, Delhi
Violin Classes Near by Gurugram – Learn, Perform & Master the Art of Strings Gurugram
Meditation Coaching Near Sohna Road – Discover Peace, Focus, and Mental Balance Sohna Road, Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020