DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller. Question Bank

Similar documents
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

MICROPROCESSOR AND MICROCOMPUTER BASICS

8051 MICROCONTROLLER COURSE

PART B QUESTIONS AND ANSWERS UNIT I

Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes:

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Chapter 13. PIC Family Microcontroller

Chapter 2 Logic Gates and Introduction to Computer Architecture

S7 for Windows S7-300/400

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Microtronics technologies Mobile:

STEPPER MOTOR SPEED AND POSITION CONTROL

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Microprocessor & Assembly Language

LSN 2 Computer Processors

MACHINE ARCHITECTURE & LANGUAGE

2.0 Command and Data Handling Subsystem

Lecture N -1- PHYS Microcontrollers

8051 hardware summary

Introduction to Microcontrollers

Let s put together a Manual Processor

CENTRONICS interface and Parallel Printer Port LPT

CSE2102 Digital Design II - Topics CSE Digital Design II

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

Microcontrollers in Practice

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Soft processors for microcontroller programming education

2011, The McGraw-Hill Companies, Inc. Chapter 3

Computer Organization & Architecture Lecture #19

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

RAM & ROM Based Digital Design. ECE 152A Winter 2012

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Keil C51 Cross Compiler

ELEG3924 Microprocessor Ch.7 Programming In C

EMBEDDED SYSTEM BASICS AND APPLICATION

Construction and Application of a Computer Based Interface Card

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

Microcontrollers Figure 26-1 Objectives Key Words and Terms 26.1 OVERVIEW OF THE MICROCONTROLLER microcontroller

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: )

CHAPTER 7: The CPU and Memory

Programming Logic controllers

Memory Basics. SRAM/DRAM Basics

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Flash Microcontroller. Architectural Overview. Features. Block Diagram. Figure 1. Block Diagram of the AT89C core

Serial Communications

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

Automating with STEP7 in LAD and FBD

DS1104 R&D Controller Board

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Byte code Interpreter for 8051 Microcontroller

Lab Experiment 1: The LPC 2148 Education Board

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Bluetooth to serial HC-06 wireless module

THREE YEAR DEGREE (HONS.) COURSE BACHELOR OF COMPUTER APPLICATION (BCA) First Year Paper I Computer Fundamentals

Automating witfi STEP7 in LAD and FBD

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

Multiple Choice Questions(Computer)

(Refer Slide Time: 00:01:16 min)

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1

Programmable Logic Controllers Definition. Programmable Logic Controllers History

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Design and Verification of Nine port Network Router

Programmable Logic Controller PLC

CHAPTER 4 MARIE: An Introduction to a Simple Computer

ASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER

Chapter 1 Computer System Overview

CPUs - CPU PN/DP

Central Processing Unit

Am186ER/Am188ER AMD Continues 16-bit Innovation

OpenSPARC T1 Processor

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Timer A (0 and 1) and PWM EE3376

User Manuals. Connection to Siemens S5 PU (AS511) Part Number: Version: 2. Date:

Traditional IBM Mainframe Operating Principles

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

ASSEMBLY LANGUAGE PROGRAMMING (6800) (R. Horvath, Introduction to Microprocessors, Chapter 6)

İSTANBUL AYDIN UNIVERSITY

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET

8254 PROGRAMMABLE INTERVAL TIMER

Microcontrollers A Brief History of Microprocessors

Chapter 11 I/O Management and Disk Scheduling

Serial port interface for microcontroller embedded into integrated power meter

Measurement and Analysis Introduction of ISO7816 (Smart Card)

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Interfacing Analog to Digital Data Converters

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Microprocessor or Microcontroller?

Software Manual RS232 Laser Merge Module. Document # SU Rev A

Transcription:

DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller Question Bank IV Semester ECE Department of Electronics and Communication Engineering 1

UNIT I THE 8086 MICROPROCESSOR 1. Draw the pin diagram of 8086 microprocessor and explain the function of each pin. (8)[N/D 11] 2. Explain the internal hardware architecture of 8086 microprocessor with a neat diagram. (12) [N/D 12][A/M 11] 3. Explain the different data transfer schemes with examples. (8) [N/D 12] 4. What are the peripheral I/O instructions? Write its syntax. Explain the same with the timing diagram. (8)[N/D 10] 5. Explain the external memory addressing of 8086. (8)[A/M 11] 6. Explain the interrupt architecture of 8086 microprocessor. (16)[A/M 12] [A/M 11][N/D 10] 7. Explain maximum mode bus cycle in 8086 microprocessor. (8)[A/M 12] 8. Draw and explain the signals and bus cycles in maximum mode system configuration of 8086 microprocessor. (16)[N/D 12] 9. How is 8086 configured in maximum mode and in minimum mode? Explain. (8)[N/D 11] 10. Explain the various multiprocessor configurations. (16) UNIT II 8086 SYSTEM BUS STRUCTURE 1. Explain the 8086 instructions used for transferring data among registers, memory, stack, and I/O devices. (8)[N/D 12] 2. Write a program using 8086 instruction set to multiply a constant value with a sequence of data, from 1 to n, stored in memory. (8)[N/D 12] 3. Write a program using 8086 instruction set to compute the average of n number of bytes stored in the memory. (8)[N/D 12] 4. Explain data transfer, arithmetic and logical group instructions of 8086 microprocessor. (16)[A/M 11][A/M 12] 5. Write an assembly language program for 8086 to arrange the set of numbers in ascending order and explain in detail. (16)[A/M 12] Department of Electronics and Communication Engineering 2

6. How are the 8086 instructions classified according to their functional categories? Explain each with an example. (8)[N/D 11] 7. Write an assembly language program for 8086 to multiply two 16 bit binary numbers to generate a 32 bit result. (8)[N/D 11] 8. Explain with examples the following 8086 instructions (8)[N/D 11] a) AAA b) CBW c) IMUL d) INTO 9. Write an assembly language program for 8086 to sort the array of elements in ascending order. (8)[A/M 11] 10. Write an assembly language program for 8086 to find the largest element in an array. (6)[A/M 11] 11. Explain the 8086 bit manipulation instructions with an example for each. (16)[N/D 10] 12. Write an assembly language program for 8086 to convert BCD data to binary data. (8)[N/D 10] 13. Explain the various assembler directives in 8086 microprocessor programming. (8)[N/D 12] 14. What is the function of the ASSUME, DB, EQU, EVEN assembler directives of 8086? (8)[N/D 11] 15. Explain the assembler directives ASSUME, EQU, DW, and EVEN with suitable examples. (8)[A/M 11] 16. Explain the relative addressing mode and the implied addressing mode with its syntax. Write an example for each. (8)[N/D 10] 17. Design an 8086 based system in minimum mode containing 64kb of EPROM and 64kb of RAM (16) 18. Explain the operand addressing of 8086 with examples (8) UNIT III I/O INTERFACING 1. Explain in detail, the programming and operating modes of 8255 PPI in detail. Department of Electronics and Communication Engineering 3

(16)[N/D 12] [A/M 12] [A/M 11] 2. Draw the block diagram to interface a keyboard and a 7-segment LED using 8255 Programmable Peripheral Interface. (8)[N/D 11] 3. Draw the block diagram of 8279 keyboard and display control and explain them in detail. (16)[N/D 11] [N/D 10] [A/M 11] 4. Describe the architecture and working of 8253 timer. Explain its modes of operation. (16)[A/M 11][N/D 10] 5. Explain the need for sample and hold circuit and multiplexer. (8)[N/D 11] 6. Explain the interfacing of any 8 bit A/D converter with an 8086 microprocessor. Write an assembly language program for conversion. (16)[A/M 12] 7. Draw and explain the operation of R-2R method of D/A converter. (8)[N/D 12] 8. Explain the function of CRT terminal interface. (8)[N/D 12] UNIT IV- MICROCONTROLLER 1. Explain the parallel port architecture of 8051 microcontroller. (8)[N/D 12] 2. Draw the pin diagram of 8051 and explain in detail, the function of each pin. (10) 3. Draw the bit pattern of Program Status Word of 8051 and explain the significance of each bit with examples. (8) 4. List out the special function registers of 8051 microcontroller and explain their functions. (10) 5. Explain the memory organization of 8051 microcontroller. (8)[A/M 12] 6. Explain the architecture of 8051 microcontroller with neat diagram. (16)[N/D 11][A/M 11] [N/D 10] 7. Explain the data memory structure of 8051 microcontroller. (8)[N/D 11] 8. Explain the arithmetic and branching instruction of 8051 microcontroller with example. (8)[N/D 12] 9. Write a program using 8051 instruction set to pack an array of unpacked BCD digits. (8)[N/D 12] 10. Explain the working of program control transfer instructions of 8051 microcontroller. (8)[A/M 12] 11. Write an 8051 assembly language program for a lookup table application. (8)[A/M 12] 12. Write an assembly language program to generate square wave using on-chip timer. Department of Electronics and Communication Engineering 4

(8)[A/M 12] 13. Assume that 5 BCD data items are stored in RAM locations starting at 40 H. Write an 8051 program to find the sum of all the numbers. The result must be in BCD. (8)[N/D 10] 40 = (71) 41 = (11) 42 = (65) 43 = (59) 44 = (37) 14. Explain the logical instructions in 8051 with an example. (8)[N/D 10] 15. Explain the rotate and swap instruction with an example for each. (8)[N/D 10] 16. Explain in detail, the different addressing modes of 8051. (8) 17. Explain the operations carried out when the following instructions are executed by 8051. (16) a) MOVX @ R 0, A b) MOVC A, @A + PC c) RLC A d) CJNE A, 50 H, L 2 e) JBC 20H, L 3 f) XCH A, 30 H where, L 2 and L 3 are labels 25. Explain the following instructions of 8051 with examples: (16) a) CJNE destination, source, label b) MUL AB c) RRL A d) SWAP A e) SETB P2.0 18. Write an 8051 assembly language program to evaluate Q = (u (v + w)) + ( x. y' ) + z' ). (6) 19. Explain the operating modes for serial port of 8051 microcontroller. (4)[A/M 11] 20. Explain the operation of serial port with associated register. (8)[N/D 12] Department of Electronics and Communication Engineering 5

21. Write an assembly language program for 8051 to create a square wave of 66 % duty cycle on bit 3 of port 1. (6)[A/M 11] 22. How are the timers of 8051 used to produce time delay in timer mode? (8)[N/D 11] 23. Explain the interrupt structure of 8051 microcontroller. (8)[N/D 11] 24. Explain the different modes of operation of timers/counters in 8051 with its associated register. (10)[A/M 11] 25. Write a program in 8051 to transfer letter A serially at 4800 baud rate, 8 bit data and 1 stop bit continuously. (8) 26. Write a program in 8051 to transfer message YES serially at 9600 baud rate, 8 bit data and 1 stop bit continuously. (6) UNIT V INTERFACING MICROCONTROLLER 1. Explain the microprocessor based traffic light control system with a neat sketch. (16)[N/D 12] 2. Develop a microcontroller based traffic light controller and explain its working. (16)[A/M 11][A/M 12] 3. Explain the microcontroller based system design with an example. (16)[N/D 12] 4. Explain the working of microprocessor based stepper motor control with suitable circuit diagram. (16)[N/D 10][A/M 12] 5. Draw the diagram to interface a stepper motor with 8051 microcontroller and explain. Write an 8051 assembly language program to run the stepper motor in both forward and reverse direction with delay. (16)[N/D 10][A/M 11] 6. Write any four application of stepper motor? How is microcontroller interfaced with stepper motor? (8)[N/D 11] 7. What is the need for pulse width modulation in motor control application? Explain. (8)[N/D 11] 8. List out the features of RTC device. (6)[A/M 11] 9. How is a byte read from a RTC using I 2 C protocol? (8) [N/D 11] Department of Electronics and Communication Engineering 6

10. How is a washing machine controlled using microcontroller? (8)[N/D 11] 11. How are microcontrollers and microprocessors used for the washing machine control application? (16)[N/D 10] Department of Electronics and Communication Engineering 7