THEORY EXAMINATION (SEM–IV) 2016-17 INTRODUCTION TO MICROPROCESSOR

B.Tech Electronics Engineering 0 downloads
₹29.00

Course: B.Tech (Electronics & Communication Engineering)
Subject Code: NEC409
Subject Title: Introduction to Microprocessor
Exam Type: Theory
Duration: 3 Hours
Maximum Marks: 100

SECTION – A (10 × 2 = 20 Marks)

Short-answer questions testing fundamentals of 8085/8086 microprocessors.

No.TopicKey Concept
(a)Memory Chip DesignFor 8K-byte memory using 1024×1 chips → 8K×8 = 64K bits; each chip = 1K bit ⇒ 64 chips required.
(b)Hardware vs Software Interrupts (8085)Hardware interrupts (e.g., RST7.5, INTR) are externally triggered; software interrupts (RST n) are generated by instructions.
(c)Pipelining in 8086Enables simultaneous fetching and execution of instructions → increases throughput.
(d)RIM & SIM Instructions (8085)RIM = Read Interrupt Mask, reads status; SIM = Set Interrupt Mask, controls serial output and interrupt enable.
(e)Port Input/OutputExample: IN 07H, OUT 00H, IN 08H, MOV B,A → reads ports and stores/transfers data.
(f)HOLD & READY PinsHOLD → DMA request; READY → synchronize slow peripherals.
(g)Wait StateExtra clock cycle inserted when slower devices delay response.
(h)RAL vs RRC InstructionsRAL = rotate left through carry; RRC = rotate right without carry.
(i)SUB A InstructionSubtracts accumulator from itself → result = 00H, sets Z=1, CY=0.
(j)BSR Mode of 8255Used for bit set/reset operations on Port C; control word format includes bit control flags.

SECTION – B (5 × 10 = 50 Marks)

Long-answer and programming questions involving assembly coding, timing, and interfacing.

Key Questions and Concepts:

Flag Register of 8085

5 flags: S (Sign), Z (Zero), AC (Auxiliary Carry), P (Parity), CY (Carry).

Example operations show flag changes after each instruction (SUB A, MOV B,A, etc.).

Timing Diagram of MVI A, 46H

Explains opcode fetch + memory read cycles.

Shows T-states and control signals (ALE, RD’, IO/M’).

8237 DMA Controller

Transfers data directly between I/O and memory.

Key blocks: Control Logic, DMA Channels, Address Register, Command Register.

Assembly Programs:

(i) Block Transfer Program: Copy 2050H–205FH → 2070H onwards using MOV, INX, DCX, MOVM.

(ii) String Blank Removal: Loop using CMP to detect blank (20H) and skip.

8086 Pin Diagram

Divided into AD0–AD15 multiplexed lines, control pins (RD’, WR’), status signals, and clock/reset pins.

Explanation of minimum vs maximum mode.

Counter Program (8085):

Count 0–9 with 1-second delay using HL pair.

Example: Delay loop designed for 1 MHz clock (~1 second using 10⁶ T-states).

Binary–BCD Conversion & 7-Segment Display:

Binary to BCD using repeated division by 10.

BCD to 7-segment via lookup table or mask codes.

Stack & Subroutine Concepts:

Stack = LIFO structure (using SP).

Subroutines called using CALL and returned using RET.

Interfacing 8K SRAM & 8K EPROM:

Address line mapping (A0–A12) and chip select logic.

Memory map for 0000H–1FFFH (SRAM) and 2000H–3FFFH (EPROM).

SECTION – C (2 × 15 = 30 Marks)

Analytical and system-level programming questions.

Q3: Interrupts and Addressing Modes

8085 Interrupts: TRAP (non-maskable), RST7.5, RST6.5, RST5.5 (maskable), INTR.

Vector Addresses: TRAP = 0024H, RST7.5 = 003CH, RST6.5 = 0034H, RST5.5 = 002CH, INTR = determined externally.

Addressing Modes: Immediate, Register, Direct, Indirect, and Implied — with examples.

Q4: 8255 & 8254 Programming

BSR Mode Subroutine: To set PC7 and PC3 for 10 ms and reset using delay routine.

8254 Timer Configuration: Generate 1 kHz square wave using control word at 83H, counter 1 at 81H.

Gate = +5V keeps counter enabled continuously.

Q5: Architecture and Modes

8255 PPI Architecture:

Ports A, B, C (Group A/B) with Mode 0 (simple I/O), Mode 1 (strobed), Mode 2 (bidirectional).

8254 PIT Modes:

Mode 0: Interrupt on Terminal Count

Mode 1: Hardware Retriggerable One-Shot

Mode 2: Rate Generator

Mode 3: Square Wave Generator

Mode 4: Software Triggered Strobe

Mode 5: Hardware Triggered Strobe

Summary

This NEC409 – Introduction to Microprocessor exam comprehensively evaluates:

8085/8086 architecture & timing

Assembly language programming skills

Peripheral interfacing (8237, 8255, 8254)

Interrupts, addressing modes, and control words

File Size
53.88 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

Data Analytics Course Near Sector 63A Gurugram – Build a High-Demand Career in Data Sector 63A, Gurugram
Zumba Classes Near Sector 133 Greater Noida – Fun, Fitness and Energy in Every Step Noida
Home Tuition (All Subjects) Near Sector 88 Gurugram – Personalized Learning for Academic Excellence Sector 88, Gurugram
🇩🇪 German Language Classes Near Sector 116 Noida – Learn German with Professional Training Sector 116, Noida
Painting Classes Near By Dwarka Mor – Discover the Artist Within You Dwarka Mor, Delhi
Dance Classes (Bollywood, Hip-Hop, Classical) Near Sector 129 Greater Noida – Learn, Express, and Stay Fit Through Dance Noida
History Classes Near By Dwarka Mor Build Strong Conceptual Understanding & Score High in Board Exams Dwarka Mor, Delhi
TOEFL Coaching Near Noida Sector 104 – Complete Preparation Guide for Study Abroad Sector 104, Noida
Spoken English Classes Near By Vikaspuri Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Vikaspuri, Delhi
Yoga Classes Near Saket – Transform Your Mind, Body & Lifestyle Saket, Delhi
Web Development Classes Near Uttam Nagar – Learn to Build Modern Websites Uttam Nagar, Delhi
English Spoken Classes Near Rosewood City – Improve Your Confidence and Fluency Rosewood, Gurugram
Spoken English Classes Near By Tilak Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Tilak Nagar, Delhi
Yoga Classes Near By Tilak Nagar Holistic Wellness, Stress Relief & Stronger Mind-Body Balance Tilak Nagar, Delhi
Cake Decoration Classes Near Sector 86 Gurugram – Learn Professional Cake Designing Skills Sector 86, Gurugram
Singing / Vocal Training Near DLF Phase 2 Gurugram – Professional Voice Training for Kids, Beginners & Aspiring Singers DLF Phase 2, Gurugram
Spoken English Classes Near By New Friends Colony Improve Fluency, Boost Confidence & Unlock Career Growth in 2026 New Friends Colony, Delhi
🇫🇷 French Language Classes Near Sector 112 Noida – Learn French with Expert Trainers Noida
Competitive Exam Coaching Near Sector 95 Gurugram – Structured Preparation for Government & Entrance Exams Sector 95, Gurugram
Yoga Classes (Home or Online) Near Sushant Lok Phase 2 – Improve Health, Flexibility & Peace of Mind Sushant Lok 2, Sector 57, 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