B.C.A 2017 MICROPROCESSOR AND ASSEMBLY LANGUAGE MODULE SPECIFICATION SHEET. Course Outline

Similar documents
B.C.A 2017 OBJECT ORIENTED PROGRAMMING USING C++ BCA303T MODULE SPECIFICATION SHEET

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor


Assembly Language Programming of 8085

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.

Assembly Language Programming of 8085

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

8085 INSTRUCTION SET INSTRUCTION DETAILS

INSTRUCTION SET OF 8085

Rewa Engineering College, Rewa. Rewa Department OF Electrical Engineering

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE0501. Subject Name: Microprocessor Fundamentals & Programming

UNIT 1 REFERENCE 1 PREPARED BY S.RAVINDRAKUMAR, LECT/ECE, CHETTINAD COLLEGE OF ENGG AND TECH, KARUR

Microcontroller & Interfacing

Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

SRM UNIVERSITY FACULTY OF SCIENCE AND HUMANITIES DEPARTMENT OF PHYSICS AND NANOTECHNOLOGY COURSE PLAN FOR PHY0408

Subject Code: Model Answer Page No: /25

Its Assembly language programming

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

ROEVER ENGINEERING COLLEGE

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

CS2259-MICROPROCESSOR AND MICROCONTROLLER LABORATORY MANUAL

VALLIAMMAI ENGINEERING COLLEGE

Practical Course File For


MICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

ELECTRICAL ENGINEERING

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

Mrs.T.Divya Barathi AP/ECE. Integrated Circuits Digital Logic Circuits Stack & Queue Concepts

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

BASIC INTERFACING CONCEPTS

GUJARAT TECHNOLOGICAL UNIVERSITY

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

4 Categories Of 8085 Instructions That Manipulate Data

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

GATE Exercises on Microprocessors

SAMPLE STUDY MATERIAL

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Micro Processor & Micro Controllers

UPY14602-DIGITAL ELECTRONICS AND MICROPROCESSORS Lesson Plan

AE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS

Question Bank Microprocessor and Microcontroller

EE324: Microcontrollers and Interfacing. Office Hours: Mon, Wed, to 11.30am. Microcontrollers and Interfacing

Assembly language Programming

1. What is microprocessor? It is a program controlled semi conductor device (IC), which fetches, decodes and execute instructions.

Microprocessors/Microcontrollers

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

Microprocessor Micro Syllabus BSc. CSIT, IOST, TU. Microprocessor


G.PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

INSTITUTE OF AERONAUTICAL ENGINEERING (AUTONOMOUS) Dundigal, Hyderabad

PUNJAB COLLEGE OF TECHNICAL EDUCATION

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

GUJARAT TECHNOLOGICAL UNIVERSITY

ITT Technical Institute. ET2640 Microprocessors and Microcontrollers Onsite and Online Course SYLLABUS

SRI VENKATESWARA COLLEGE OF ENGINEERING

Write A General Form Of The Assembly

(2½ Hours) [Total Marks: 75]

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.

1. Internal Architecture of 8085 Microprocessor

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

PESIT Bangalore South Campus Department of MCA Course Information for

Class: S.E. (Electrical) Course: 2012 PAT. Semester: IV : FUNDAMENTALS OF MICROPROCESSOR AND MICROCONTROLLER Textbooks:

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

Microcomputer Architecture and Programming

Department of Computer Science and Engineering

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL ELECTRONICS & MICROPROCESSOR LAB MANUAL 2/4 CSE: II- SEMESTER

G. Pullaiah College of Engineering and Technology: Kurnool Department Of Electronics and Communication Engineering

1. Internal Architecture of 8085 Microprocessor

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

MICROPROCESSOR BASICS AND RELATED TERMS

MGM S Jawaharlal Nehru Engineering College

Unit wise Question Bank UNIT-II

Department of Electronics and Communication Engineering Microprocessors and Microcontrollers Laboratory Description:

Transcription:

B.C.A 2017 MICROPROCESSOR AND ASSEMBLY LANGUAGE Course Outline MODULE SPECIFICATION SHEET The objective of the course is to expose to the students to the architecture and instruction set of typical 8-bit microprocessor. Microprocessors: Historical background; Organization & Architectural Features of Microprocessor & Micro Controllers; The Instruction Set: Instruction format, addressing modes; Assembly language programming of 8085; Interfacing of memory devices; Data transfer techniques and I/O ports; Interfacing of keyboard and display devices; Programmable Interrupt and DMA controllers; Interfacing of sensors, transducers, actuators, A/D & D/A Converters, Analog Signal Conditioning Circuits, Data acquisition systems; Standard Interfaces RS232, USB; Development aids and troubleshooting techniques; Application examples; Advanced microprocessors and microcontrollers. Faculty Details JAJI NEKKANTI Assistant Professor Department of BCA jajinekkanti@pes.edu PES DEGREE COLLEGE BANGALORE SOUTH CAMPUS Affiliated to Bangalore University

1. GENERAL INFORMATION Academic Year : 2017 Semester : V Title Code Duration MICROPROCESSOR AND ASSEMBLY LANGUAGE BCA505T Lectures 65 Tutorials 11 Total: 76 2. PRE REQUIREMENT STATEMENT The students should have good background on digital circuits (should have attended the course Switching Circuits and Logic Design). 3. COURSE RELEVANCE This course is intended as a first level course for microcomputer and embedded system design. Designer of an embedded system must have a thorough understanding of hardware, software and system integration. In view of this, various aspects of hardware design, such as interfacing of memory and different types of I/O devices, will be covered in details. As it is customary to write software in machine or assembly language for embedded system applications, laboratory assignments will be on assembly language programming of 8085. 4. LEARNING OUTCOMES After completing the course students should be able to 1. Describe the architecture and comprehend the instruction set of 8085. 2. Understand and apply the principles of Assembly Language Programming in developing microprocessor based applications. 3. Work with standard microprocessor interfaces like serial ports, digital-to-analog Converters and analog-to-digital converters etc. 5. VENUE AND HOURS/WEEK All lectures will normally be held on VIII Floor. Lecture Sessions / Week: 6 Page 2 of 17

6. MODULE MAP Class (Sessi on #) 1. 2. 3. 4. 5. 6. 7. 8. 9. Chapters Topic Details Cumulative % of Portions Covered Introduction to 8085, Schematic diagram of digital computer system UNIT 1 Architecture and Operation Page No: 1.2 1.9 Key features, The Registers and System Bus of 8085 Microprocessor System. Page No: 1.10 1.14 Machine Language, Assembly and High level Language Page No: 1.15 1.17 Architecture of 8085 Microprocessor System Page No: 1.17 1.20 Pin configuration of 8085 Microprocessor System. Page No: 1.20 1.24 Block diagram of 8085 Microprocessor Based System Page No: 1.25 1.27 Timing Diagrams (Opcode Fetch operation, Memory Read operation, MVI R, Data) Page No: 1.27 1.32 Timing Diagrams (Memory write operation, I/O Read operation, I/O write operation) Page No: 1.33 1.35 Memory interfacing Introduction, Basic Memory Element Page No: 2.2 2.7 22% Page 3 of 17

Basic concepts in Memory interfacing, Address decoding 10. Page No: 2.7 2.10 11. Memory Mapping & Memory Addresses 12. Page No: 2.11 2.19 Interfacing I/O devices Introduction 13. Page No: 3.1 3.2 Methods of I/O Operations 14. Page No: 3.2 3.2 Peripheral Mapped I/O 15. Page No: 3.3 3.5 Memory-Mapped I/O 16. Page No: 3.6 3.12 Introduction, Programming Model of 8085 Microprocessor 17. Page No: 4.1 4.3 Instruction Format, Instruction Word size 18. Page No: 4.4 4.5 Addressing Modes 19. 20. UNIT 2 Programming the 8085 Page No: 4.5 4.6 Instruction Set Classification-Data transfer Group instructions Page No: 4.7 4.3 Arithmetic Group instructions (ADD R, ADD M, ADC R) 40% 21. Page No: 4.15 4.18 Page 4 of 17

22. 23. 24. 25. 26. 27. 28. 29. 30. 31. Arithmetic Group instructions (ADC M, ADI 8-bit data, ACI 8-bit data, DAD Rp) Page No: 4.19 4.20 Arithmetic Group instructions (SUB R, SUB M, SBB R) Page No: 4.20 4.23 Arithmetic Group instructions (SBB M, SUI 8-bit data, SBI 8-bit data, INR R) Page No: 4.24 4.25 Arithmetic Group instructions (INR M, DCR R, DCR M, INX Rp) Page No: 4.25 4.27 Arithmetic Group instructions (DCX Rp, DAA) Page No: 4.28 4.30 Logical Group instructions (AND and OR operations) Page No: 4.31 4.33 Logical Group instructions (OR and XOR operations) Page No: 4.33 4.36 Compare instructions Page No: 4.37 4.39 Rotate instructions Page No: 4.39 4.43 Branch Control Group Page No: 4.43 4.52 Page 5 of 17

Looping Counting and Indexing 32. Page No: 5.2 5.4 16 bit arithmetic operations basics 33. 34. 35. Page No: 5.4 5.7 Addition and Subtraction of Two 8-bit Hex numbers Using Memory pointer Page No: 5.7 5.10 Addition of Two 16 bit numbers, Addition of N-byte numbers Page No: 5.10 5.13 Addition of Two N-byte Numbers 36. 37. UNIT 3 Programming techniques Page No: 5.14 5.15 Subtraction of Two 16 bit numbers Page No: 5.16 5.17 Subtraction of Two N-byte Numbers 70% 38. Page No: 5.18 5.19 Program for Block transfer, Program for Block Exchange 39. Page No: 5.20 5.22 Program for Exchange of Two Ten Byte Numbers 40. Page No: 5.23 5.24 Logic operations - rotate operations 41. Page No: 5.25 5.32 Logic operations Compare 42. Page No: 5.32 5.41 Page 6 of 17

43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. BCD Addition Example 1, 2 Page No: 5.41 5.46 BCD Addition Example 3, 4 Page No: 5.47 5.51 BCD Subtraction Page No: 5.52 5.54 BCD Multiplication and division Page No: 5.54 5.58 Counters and Time delays Introduction, Time delay calculation for one register Page No: 6.2 6.7 Time delay using a loop within a loop technique Page No: 6.7 6.10 Modulo Ten Counter, Hexadecimal counter Page No: 6.10 6.14 Generation of pulse waveforms Page No: 6.15 6.16 Stacks and subroutines Page No: 7.2 7.8 Conditional CALL and RETURN instructions. Page No: 7.9 7.16 BCD to Binary Conversion Page No: 7.17 7.19 Page 7 of 17

54. 55. 56. 57. 58. UNIT 4 Memory Interface and 59. Interrupts 60. 61. 62. 63. Binary to BCD Conversion Page No: 7.19 7.21 BCD to Seven Segment LED Code Conversion Page No: 7.21 7.23 Binary to ASCII and ASCII to Binary code conversion Page No: 7.23 7.25 The 8085 interrupts Page No: 8.8 8.13 8085 vectored interrupts Page No: 8.14 8.18 Interrupt Instructions Page No: 8.18 8.20 Pending Interrupts Page No: 8.21 8.23 Serial Input and Output Data Transfer Page No: 8.23 8.24 Additional I/O concepts and processes. Page No: 8.25 8.27 8255 Programmable Peripheral Interface Page No: 9.2 9.5 Block diagram of 8255 Programmable Peripheral Interface 64. Page No: 9.5 9.9 65. Operational Modes of 8255A 82% Page 8 of 17

66. 67. 68. 69. UNIT 5 Interfacing of peripherals (I/Os) and applications Page No: 9.10 9.21 Bit Set/Reset (BSR) Mode of 8255A Page No: 9.22 9.23 Programmable Interrupt Controller (8259A) pin diagram Page No: 9.23 9.24 Block diagram of 8259A Programmable Interrupt Controller Page No: 9.25 9.28 Direct Memory Access (DMA) pin diagram 70. Page No: 9.29 9.30 71. Block diagram of 8257 DMA Controller 100% 72. Page No: 9.31 9.36 73. Programmable Keyboard and Display Interface (8279) 74. 75. 76. Page No: 9.37 9.43 Serial Communication and Programmable Communication Interface (8251) Page No: 9.44 9.48 Interfacing Digital to Analog Converter (DAC) Page No: 9.48 9.50 Page 9 of 17

7. RECOMMENDED BOOKS/JOURNALS/WEBSITES A. PRESCRIBED TEXTBOOK T1 (Text Book 1) - Stallings, Data and Computer Communications, 7th Edition, Pearson Education, 2012. B. REFERENCE BOOKS a. Mohana H K, Nethra H S, Bharathi A, Skyward Publications. b. Andrew S Tanenbaim, Computer Networks, 4th Edition, Pearson Education. c. 2. Behrouz Ferouzan, Introduction to Data Communication & Networking TMH, 1999. d. 3. Larry &Peterson & Bruce S Davis; Computer networks Second Edition, Morgan Kaufman, 2000. 8. ASSIGNMENTS ASSIGNMENT 1 1. What are the functions of an accumulator? 2. Draw and explain the architecture of 8085. 3. Draw the pin diagram of 8085? 4. How many address lines are required to access 512MB bytes? 5. Mention the memory capacities corresponding to the number of address lines 10, 11, 12, 13, 14, 15 and 16. ASSIGNMENT 2 1. Differentiate between the following instructions a. LDA 8000H and STA 8000H b. LHLD 9000H and SHLD 9000H 2. Write the instructions for below questions and mention the status of flags before and after the execution. a. Assume register pair BC contains 2498H and register pair DE contains 54A1H. Add these two 16-bit numbers and save the result in BC registers. b. Add the content of registers B (24H) and D (54H) by placing the contents of one register in the A. Now the instruction ADC is required to add the contents of [B] and [D] with carry from the addition of [C] and [E] register contents. Save the highorder 8-bits results in register B. Page 10 of 17

c. Assume the contents of the accumulator are 37H and the contents of the memory location 2050H is 40H. Write a program to subtract M from the A and store the difference in register C. 3. Explain Time delay calculation. 4. Write an assembly language program to count a hexadecimal number continuously from FFH to 00H with one millisecond (ms) delay between each count and display the number at one of the output port. Assume the system frequency is 2MHz. ASSIGNMENT 3 1. Write a program to add ten one byte hexadecimal numbers stored in a memory locations starting at 8050H. Store the result in memory locations starting at 8700H. 2. Explain the steps to convert BCD to binary conversion with an example. 3. Draw the architectural block diagram of 8255PPI and mention different operating modes. 4. Write an assembly language program to check if RST 5.5 is pending, enable it without affecting any other interrupt else return to main program. 9. THEORY ASSESSMENT A. WRITTEN EXAMINATION The Theory Examination is for 70 Marks which will be held for duration of 3 Hrs. The Scheme and Blue Print will be released to the students once the Bangalore University releases it. B. CONTINUOUS ASSESSMENT The Continuous Assessment is conducted as per the following parameters. Parameter MARKS WEIGHTAGE % 12 MARKS Internal Test 35 MARKS 75% 9 MARKS Assignment 10 MARKS 12.5% 1.5 MARKS Class Test 10 MARKS 12.5% 1.5 MARKS Total 55 MARKS 100% 12 MARKS Page 11 of 17

The students are hereby required to note that every internal test weightage will calculated for 12 Marks. This includes timely submission of assignments and attending class tests as conducted. The Sum of Best Two Performances in Internal Terms will be taken. Parameter Internal Test 01 Internal Test 02 Internal Test 03 Final Internal Marks (Sum of Best Two Marks Of The Three Internal Tests) Attendance >95 % : 06 Marks 90-95 % : 05 Marks 85-90 % : 04 Marks 80-85 % : 03 Marks 75-80 % : 02 Marks Total MARKS 12 MARKS 12 MARKS 12 MARKS 24 MARKS 06 MARKS 30 MARKS 10. ASSESSMENT / ASSIGNMENT / CLASS TEST / ACTIVITY PLANNER Week 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Internal Test T1 T2 T3 Assignments Submission A1 A2 A3 Class Test C1 C2 C3 Legend Meaning Test Topics Examinable T1, T2,T3 Internal Tests T1 Class 1 30 A1, A2, A3 Assignments T2 Class 31 52 C1,C2,C3 Class Test T3 Class 53-76 LT Problems 1-20 Page 12 of 17

11. MODEL QUESTION PAPERS Page 13 of 17

Page 14 of 17

Page 15 of 17

12. PREVIOUS QUESTION PAPER Page 16 of 17

Page 17 of 17