MICROPROCESSOR LAB PROJECT EC 316

Size: px
Start display at page:

Download "MICROPROCESSOR LAB PROJECT EC 316"

Transcription

1 MICROPROCESSOR LAB PROJECT EC 316 MADE BY:- MANISH MEENA 96/EC/13 RAHUL VASHIST 132/EC/13 FACULTY ADVISOR:- PROF. DHANANJAY V. GADRE

2 ACKNOWLEDGEMENT We would sincerely like to thank Associate Prof. Dhananjay V. Gadre for providing us this opportunity as a part of EC-316 coursework and for his endless support and motivation during the entire project development. We would also like to express our gratitude to our family, friends who helped us throughout the project. A special thanks to Vinod Sir and whole CEDT team, who helped us with the necessary components and tools required for the project completion.

3 TABLE OF CONTENTS 1. INTRODUCTION 2. PROJECT DESCRIPTION i) Block Diagram ii) Schematic iii) Board File iv) Basic Description 3. MEMORY INTERFACING 4. COMPONENTS REQUIRED 5. PICTURES FROM THE PROJECT 6. CODE USED 7. GANTT CHART 8. TOOLS USED 9. CONCLUSION 10. BIBLIOGRAPHY

4 SYNOPSIS Tic-tac-toe is one of the most famous and simplest games of all times. In this game a 3X3 matrix is used to place O or X in the nine available spaces by two competing players. In this game a player can win in eight different ways i.e. by forming either three rows or three columns or two diagonals using his/her given symbol (O or X). In this project we are representing the 3X3 matrix using 9 bi-color LEDs, where orange color represents O and green color represents X. Players can choose a position from the initially available nine positions using a 9 push button. A LCD is also installed to show which player is won SeT up and Initialization: 1. Connect power cable and wait for system peripherals to initialize 2. System display the Tic Tac Toe on the LCD display. 3. After this player have to choose which one is player1. WHaT NexT? The system automatically assign green color to player1 and red Color to player2:

5 The player has to make a pattern by corresponding color. Whichever player is make the pattern first he/she will be the winner of the match. The lcd display the name of the winner (i.e. player1 wins/ player2 wins) Figure showing animated interface of game

6 INTRODUCTION The 8085 microprocessor was introduced by Intel in 1976 as a successor to the Intel 8080 microprocessor. The 8085 is upward compatible with its predecessor, with only 2 minor instructions added to support its interrupt and input-output features. The 8085 is a conventional Von- Neumann design. Since its advent, the 8085 microprocessor has found use in numerous applications such as early personal computers as well as in several NASA space physics missions in the 1990s. Few of its features are: 1. The 8085 has 16 signal lines that are used as the address lines, which are divided into two segments: the higher order (A 8 to A 15 ) and lower order address lines (AD 0 TO AD 7 ) bit data bus 3. 6 general purpose 8 bit registers: B,C,D,E,H,L and Accumulator. the 8085 is an Accumulator based microprocessor. 4. Control signals, status signals and interrupts

7 The 8085 is available as a 40 pin DIP IC. Figure 1: Pin Diagram of the 8085

8 BLOCK DIAGRAM

9 Schematic

10 BOARD FILE

11 DESCRIPTION OF THE SCHEMATIC Basic Components Latch: The 74HC573 is an 8 bit D type transparent latch with three state outputs. It features a latch enable(le) and an output enable(oe'). Functional Diagram of the 74HC573 The 74HC573 is made up of 8 D-type flip flops with a parallel input parallel output connection, which allows output of 8 bit simultaneously on the data bus lines. Each flip flop is enabled when the LE is high and the OE' is low. It is generally used for interfacing output peripherals ( LEDs, seven segment display etc.) with the microprocessor.

12 Logic Gates: Logic gates are the fundamental components of most digital circuits. Basic logic gate ICs such as AND(7408), OR(7432) and NAND(7400) are usually employed in schematics for microprocessor based circuits to design the necessary addresses for the various input and output ports. This is further explained in the topic "Decoding Logic" under the section "Schematic Description of the Project". Decoders: The decoder is a logic circuit that identifies each combination of the signals present at its input. In general, if a decoder has 'n' input lines, then the number of output lines will be '2 n '. Various types of decoder circuits are available for a user; for example, (a dual 2 to 4 line decoder) and 74138( a 3 to 8 line decoder). A functional diagram of a 2-to-4 line decoder

13 Power Supply: This is the most important sub-circuit which is required to run any schematic design's implementation on a printed circuit board. Pin number 40 of the 8085, namely 'Vcc', requires a steady supply of 5 volts. This can be provided either by designing a regulated power supply (linear or switched) for the circuit or by using a USB input port, which can be connected to laptop p.

14 Decoding Logic The very fundamental concept involved in designing the schematic of this project is assigning suitable addresses to the various input and output ports, as well as appropriate memory address ranges for both RAM and ROM. The decoding circuit is generated using basic digital circuits such as latches, buffers and logic gates. The chip enable pin for the buffers and the latches is enabled through a combination of their desired address and the necessary control signal. Input-Output Interfacing"

15 Decoding logic for input output interfacing is implemented using 3 to 8 decoder(74138),address line A 2 A 3 A 4 is used as the three select lines where as A 5 A 6 A 7 is used as enabling of the decoder, A 0 & A 1 are directly connected to the A 0 & A 1 of the both 8255 Table1: Port Addresses Ports A7 A6 A5 A4 A3 A2 A 1 A 0 Hex Address PORT1/A H PORT1/B H PORT1/C H PORT1/CONTROL REGISTER H PORT2/A H PORT2/B H PORT2/C H PORT2/CONTROL REGISTER H Here we have done absolute decoding of input output port, we have eight fixed address to access I/O ports, we can also do partial decoding for I/O port where we have multiple address for a single port, which is not good if we have more no. of port

16 MEMORY INTERFACING Memory interfacing refers to the interfacing of RAM and EEPROM with the 8085 by allocating appropriate address ranges to both. The RAM used is 58C256, which is a 32kB static ram and is available in a 28 pin DIP package. Static rams are made up of flip-flops and they store the bits as voltages. EEPROM used is AT28c256, which is available as a 28 pin DIP package. The lower order address bus of the 8085 microprocessor is multiplexed with the 8 bit data bus. The buses are de-multiplexed using a 74HC573 Address Latch, which is enabled using the A 15 address line from the microprocessor. When the latch is enabled, i.e. A 15 =1, the RAM is selected and otherwise the ROM is selected. The remaining 15 address lines are used for both RAM and ROM, thus giving a size of 32kB for each. The memory address map for the RAM and ROM are: ROM: 0000H to 7FFFH RAM: 8000H to FFFF

17 Read write logic read and write logic for memory as well as input/output chips is implemented using 3 to 8 decoder, three select lines for decoder are WR*, RD* & IO/M* from 8085, IO/M* is used to select whether it is memory or I/O and RD* & WR* are used to select whether it is read or write command, by use of these three lines we can make all read and write signal for memory and i/o chip. OPERATION IO/M* RD* WR* MEMORY READ (Y1) MEMORY WRITE (Y2) I/O READ (Y5) I/O WRITE (Y6) 1 1 0

18 COMPONENTS REQUIRED Quantity DEVICE PACKAGE PARTS DESCRIPTION 2 10-XX B3F-10XX RESET, SWITCH 9 10-XX B3F-10XX S1, S2, S3, S4, S5, S6, S7, S8, S9 OMRON SWITCH OMRON SWITCH 1 16X2LCD 16X2LCD LCD 1 58C256P DIL28-6 ROM-58C256 MEMORY P DIL28-6 RAM-62256P MEMORY DIL MICROPROCESSOR 2 82C55A DIL40 PORTS- 82C55A, PORTS- 82C55A1 13 C-EU X044 C X044 C1, C2, C3, C5, C7, C8, C9, C10, C12, C14, C15, C16, C17 PPI CAPACITOR 1 C-EU X044 C X044 C6 CAPACITOR(EU) 2 C2,5-3 C2.5-3 C11, C18 CAPACITOR 2 CPOL-EUE5-8.5 E5-8,5 C4, C13 POLAR CAPACITOR 1 CRYSTALHC49US HC49US Q2 CRYSTAL 1 LED3MM LED3MM LED@SOD LED 29 R-EU_0204/7 0204/7 R1, R2, R3, RESISTOR R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R HCT04N DIL14 NOT NOT GATE 2 74HCT138N DIL16 DECODER, DECODER1 3 TO 8 DECODER 1 74HCT573N DIL20 ADDLATCH LATCH 1 LED5MM LED5MM LED1 LED 1 PRESET_LR PRESET_LR PRESET 9 TLUV5300 TLUV5300 LED2, LED3, LED4, LED5, BI-COLOR LED

19 LED6, LED7, LED8, LED9, LED10 3 UDN2981A DIL18 IC1, IC2, IC3 DRIVER 1 USBSMD USB-MINIB USB USB PORT

20 PICTURES FROM THE PROJECT

21

22 CODE USED.ORG 0000H LXI SP, 0000H ;STACK POINTER INITIALISATION MVI A, B ;8255 INITIALISATION OUT 087H INIT: MVI A, B MOV B, A CALL OUTPUT MVI A, B ;8 BIT, 2 LINES, 5X8 DISP MVI A, B ;DISPLAY OFF MVI A, B ;CLEAR DISPLAY MVI A, B ;ENTRY MODE SET, SHIFT AND INCREMENT CURSOR MVI A, B ;DISPLAY ON CURSOR, BLINKING OFF DISP1: MVI A, 80H ;START POSITION MVI A,20H MVI A, 81H ;START POSITION MVI A,20H MVI A, 82H ;START POSITION MVI A,54H

23 MVI A, 83H ;START POSITION MVI A,49H MVI A, 84H ;START POSITION MVI A,43H MVI A, 85H ;START POSITION MVI A,20H MVI A, 86H ;START POSITION MVI A,54H MVI A, 87H ;START POSITION MVI A,41H MVI A, 88H ;START POSITION MVI A,43H MVI A, 89H ;START POSITION MVI A,20H MVI A, 8AH ;START POSITION MVI A,54H MVI A, 8BH ;START POSITION MVI A,4FH

24 MVI A, 8CH ;START POSITION MVI A,45H MVI A, 8DH ;START POSITION MVI A,45H NOP NOP NOP NOP NOP MVI A,00H STA 8050H STA 8060H MVI A,04H STA 9001H MVI A,05H STA 9002H MVI A,06H STA 9003H MVI A,07H STA 9004H MVI A,08H STA 9005H MVI A,09H STA 9006H MVI A,0AH STA 9007H MVI A,0BH STA 9008H MVI A,0CH STA 9009H

25 MVI A,98H OUT 87H MVI A,80H OUT 83H MVI A,00H MVI B,00H PLAYER1: IN 84H ANI 0FFH CPI 0FFH JZ PLAYER1 CALL DEBOUNCE1 PLAYER2: IN 84H ANI 0FFH CPI 0FFH JZ PLAYER2 CALL DEBOUNCE2 KEYPUSH1: IN 84H ANI 0FFH CPI 0FFH JNZ LEDGLOW1 JMP PLAYER1 KEYPUSH2: IN 84H ANI 0FFH CPI 0FFH JNZ LEDGLOW2 JMP PLAYER2 LEDGLOW1: MOV B,A CPI 0FEH

26 JZ GREEN1 JMP GREEN2 LEDGLOW2: MOV B,A CPI 0FEH JZ RED1 JMP RED2 RED1: MVI A,02H STA 8050H OUT 80H MVI A,00H STA 9001H CALL PTCHECKER JMP PLAYER1 GREEN1: MVI A,01H STA 8050H OUT 80H MVI A,01H STA 9001H CALL PTCHECKER JMP PLAYER2 GREEN2: MOV A,B CPI 0FDH JNZ GREEN3 MVI A,04H STA 8051H OUT 80H MVI A,01H

27 STA 9002H CALL PTCHECKER JMP PLAYER2 RED2: MOV A,B CPI 0FDH JNZ RED3 MVI A,08H STA 8051H OUT 80H MVI A,00H STA 9002H CALL PTCHECKER JMP PLAYER1 GREEN3: MOV A,B CPI 0FBH JNZ GREEN4 MVI A,10H STA 8052H OUT 80H MVI A,01H STA 9003H CALL PTCHECKER JMP PLAYER2 RED3: MOV A,B CPI 0FBH JNZ RED4

28 MVI A,20H STA 8052H OUT 80H MVI A,00H STA 9003H CALL PTCHECKER JMP PLAYER1 GREEN4: MOV A,B CPI 0F7H JNZ GREEN5 MVI A,40H STA 8053H OUT 80H MVI A,01H STA 9004H CALL PTCHECKER JMP PLAYER2 RED4: MOV A,B CPI 0F7H JNZ RED5 MVI A,80H STA 8053H OUT 80H MVI A,00H STA 9004H CALL PTCHECKER JMP PLAYER1 GREEN5: MOV A,B

29 CPI 0EFH JNZ GREEN6 MVI A,01H STA 8054H OUT 81H MVI A,01H STA 9005H CALL PTCHECKER JMP PLAYER2 RED5: MOV A,B CPI 0EFH JNZ RED6 MVI A,02H STA 8054H OUT 81H MVI A,00H STA 9005H CALL PTCHECKER JMP PLAYER1 GREEN6: MOV A,B CPI 0DFH JNZ GREEN7 MVI A,04H OUT 81H STA 8055H MVI A,01H STA 9006H CALL PTCHECKER

30 JMP PLAYER2 RED6: MOV A,B CPI 0DFH JNZ RED7 MVI A,08H OUT 81H STA 8055H MVI A,00H STA 9006H CALL PTCHECKER JMP PLAYER1 GREEN7: MOV A,B CPI 0BFH JNZ GREEN8 MVI A,10H OUT 81H STA 8056H MVI A,01H STA 9007H CALL PTCHECKER JMP PLAYER2 RED7: MOV A,B CPI 0BFH JNZ RED8 MVI A,20H OUT 81H

31 STA 8056H MVI A,00H STA 9007H CALL PTCHECKER JMP PLAYER1 GREEN8: ;CPI 7FH ;JNZ GREEN9 MVI A,40H OUT 81H STA 8057H MVI A,01H STA 9008H CALL PTCHECKER JMP PLAYER2 RED8: ;CPI 7FH ;JNZ RED9 MVI A,80H OUT 81H STA 8057H MVI A,00H STA 9008H CALL PTCHECKER JMP PLAYER1 PTCHECKER: MVI A,00H LXI H,8050H ORA M INX H ORA M

32 INX H ORA M INX H ORA M OUT 80H MVI A,00H LXI H,8054H ORA M INX H ORA M INX H ORA M INX H ORA M OUT 81H LDA 9001H LXI H,9002H CMP M JNZ PT2 INX H CMP M JZ PTFOUND PT2: LDA 9004H LXI H,9005H CMP M JNZ PT3 INX H CMP M JZ PTFOUND PT3: LDA 9007H LXI H,9008H CMP M

33 JNZ PT4 INX H CMP M JZ PTFOUND PT4: LDA 9001H LXI H,9004H CMP M JNZ PT5 LXI H,9007H CMP M JZ PTFOUND PT5: LDA 9002H LXI H,9005H CMP M JNZ PT6 LXI H,9008H CMP M JZ PTFOUND PT6: LDA 9003H LXI H,9006H CMP M JNZ PT7 LXI H,9009H CMP M JZ PTFOUND PT7: LDA 9001H LXI H,9005H CMP M JNZ PT8 LXI H,9009H

34 CMP M JZ PTFOUND PT8: LDA 9003H LXI H,9005H CMP M JNZ NPFOUND LXI H,9007H CMP M JZ PTFOUND NPFOUND: RET MVI A, 80H ;START POSITION MVI A,20H PTFOUND: CPI 01H JNZ PF2 MVI A, 80H ;START POSITION MVI A,50H MVI A, 81H ;START POSITION MVI A,4CH MVI A, 82H ;START POSITION MVI A,41H MVI A, 83H ;START POSITION MVI A,59H

35 MVI A, 84H ;START POSITION MVI A,45H MVI A, 85H ;START POSITION MVI A,52H MVI A, 86H ;START POSITION MVI A,31H MVI A, 87H ;START POSITION MVI A,20H MVI A, 88H ;START POSITION MVI A,57H MVI A, 89H ;START POSITION MVI A,49H MVI A, 8AH ;START POSITION MVI A,4EH MVI A, 8BH ;START POSITION MVI A,53H MVI A, 8CH ;START POSITION MVI A,20H

36 MVI A, 8DH ;START POSITION MVI A,20H MVI A, 8EH ;START POSITION MVI A,20H HLT PF2: ;CPI 00H ;JNZ PNF MVI A, 80H ;START POSITION MVI A,50H MVI A, 81H ;START POSITION MVI A,4CH MVI A, 82H ;START POSITION MVI A,41H MVI A, 83H ;START POSITION MVI A,59H MVI A, 84H ;START POSITION MVI A,45H MVI A, 85H ;START POSITION

37 MVI A,52H MVI A, 86H ;START POSITION MVI A,32H MVI A, 87H ;START POSITION MVI A,20H MVI A, 88H ;START POSITION MVI A,57H MVI A, 89H ;START POSITION MVI A,49H MVI A, 8AH ;START POSITION MVI A,4EH MVI A, 8BH ;START POSITION MVI A,53H MVI A, 8CH ;START POSITION MVI A,20H MVI A, 8DH ;START POSITION MVI A,20H MVI A, 8EH ;START POSITION

38 MVI A,20H HLT DEBOUNCE1: PUSH B PUSH PSW LXI B, 041CH ;5MS LOOP1: DCX B MOV A,C ORA B JNZ LOOP1 POP PSW POP B CALL KEYPUSH1 DEBOUNCE2: PUSH B PUSH PSW LXI B, 041CH ;5MS LOOP2: DCX B MOV A,C ORA B JNZ LOOP2 POP PSW POP B CALL KEYPUSH2 CMDOUT: MOV B,A ;SAVE CALL CHK OUTPUT: MVI A, B;RS=0,RW=0,EN=1

39 OUT 086H RET DTAOUT: MOV B, A ;SAVE DATA BYTE CALL CHK MVI A, B;RW=0,RS=1,E=1 OUT 086H MOV A, B;RESTORE OUT 085H RET CHK: MVI A, B;SET B AS INPUT PORT OUT 87H READ: MVI A, B;RS=0,RW=1,EN=1;ENABLE HIGH OUT 086H IN 085H;CHECK D7 RLC;CARRY MVI A, B;RS=0,RW=1,EN=LOW OUT 85H JC READ ;LOOP TILL BUSY MVI A, B;RS=0,RW=0,EN=HIGH MVI A, B ;SET B AS OUTPUT OUT 87H MOV A,B OUT 85H RET.END GANTT CHART

40

41 COMPARISON WITH ACTUAL RESULT STEP EXPECTED DURATION ACTUAL DURATION PROPOSAL OF PROJECT 5-11 JAN JAN 2016 LEARNING 8085 ARCHITECTURE 10 JAN-09 FEB JAN-9 FEB 2016 BLOCK DIAGRAM/FLOW CHART 07FEB-18 FEB JAN-18 FEB 2016 RAM ROM INTERFACING 14 FEB-25 FEB FEB-1 MARCH 2016 LED AND KEYBOARD INTERFACING 17 FEB-2 MARCH FEB-5 MARCH 2016 LCD INTERFACING 21 FEB-4 MARCH FEB-15 MARCH 2016 FINAL SCHEMATIC 23 FEB - 15 MARCH MARCH -30 MARCH PROGRAMMING 1 MARCH -25 MARCH MARCH - 25APRIL 2016 PCB FABRICATION 12 MARCH - 25 MARCH APRIL - 22 APRIL 2016 ASSEMBLY & TESTING 18 MARCH- 10 APRIL APRIL - 31 MAY 2016 STEP EXPECTED DURATION ACTUAL DURATION PROPOSAL OF PROJECT 5-11 JAN JAN 2016 LEARNING 8085 ARCHITECTURE 10 JAN-09 FEB JAN-9 FEB 2016 BLOCK DIAGRAM/FLOW CHART 07FEB-18 FEB JAN-18 FEB 2016 RAM ROM INTERFACING 14 FEB-25 FEB FEB-1 MARCH 2016 LED AND KEYBOARD INTERFACING 17 FEB-2 MARCH FEB-5 MARCH 2016 LCD INTERFACING 21 FEB-4 MARCH FEB-15 MARCH 2016 FINAL SCHEMATIC 23 FEB - 15 MARCH MARCH -30 MARCH PROGRAMMING 1 MARCH -25 MARCH MARCH - 25APRIL 2016 PCB FABRICATION 12 MARCH - 25 MARCH APRIL - 22 APRIL 2016 ASSEMBLY & TESTING 18 MARCH- 10 APRIL APRIL - 31 MAY 2016

42 Tools used Software Tools: EAGLE for schematic and board layout 8085 Simulator IDE by OshonSoft EEPROM programmer software. Proteus. Hardware Tools: Soldering Iron Solder Multimeter +5V DC Power Supply EEPROM Programmer. Cutter, Tweezers, Hand Files,

43 CONCLUSION We concluded that there is no bar in thinking a great project and implementing it successfully given we have proper guidance and proper facilities.

44 BIBLIOGRAPHY Microprocessor Architecture, Programming, and Applications with th edition Author: Ramesh S. Gaonkar Publisher: Penram International Publishing (India) Pvt. Ltd. ISBN:

MICROPROCESSOR LAB PROJECT EC 316 MADE BY:-

MICROPROCESSOR LAB PROJECT EC 316 MADE BY:- MICROPROCESSOR LAB PROJECT EC 316 MADE BY:- SAURABH VERMA 159/EC/13 SHREYANSH PATIYAL 167/EC/13 FACULTY ADVISOR:- PROF. DHANANJAY V. GADRE ACKNOWLEDGEMENT We would sincerely like to thank Associate Prof.

More information

Project Report SOFTDRINK DISPENSER. Subject Code- ECE-316. Bachelor of Engineering. (Division of Electronics and Communication Engineering)

Project Report SOFTDRINK DISPENSER. Subject Code- ECE-316. Bachelor of Engineering. (Division of Electronics and Communication Engineering) Project Report SOFTDRINK DISPENSER Subject Code- ECE-316 Bachelor of Engineering (Division of Electronics and Communication Engineering) 2015-16 Under the Supervision of Prof. Dhananjay Vasudeo Gadre Prepared

More information

INTEL 8085 PROJECT ECE - 316

INTEL 8085 PROJECT ECE - 316 INTEL 8085 PROJECT ECE - 316 MAZE RUNNER Submitted By: Mohak Gupta (103/EC/13) Prashant (121/EC/13) ACKNOWLEDGEMENTS The whole project took a lot of planning and concept application. We managed everything

More information

SUBMITTED TO PROF. D.V. GADRE

SUBMITTED TO PROF. D.V. GADRE TEA TOTALLER [Type the document subtitle] SUBMITTED TO PROF. D.V. GADRE June 2, 2016 Aishwarya Rao 14/ec/13 Chitrangna Chaudhary 49/ec/13 ACKNOWLEDGEMENT We take this opportunity to express our profound

More information

LABORATORY 1 INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEM BOARD

LABORATORY 1 INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEM BOARD LABORATORY 1 INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEM BOARD 1. INTRODUCTION TO 8085 MICROPROCESSOR DEVELOPMENT SYSTEMS. The basic components of the 8085 Microprocessor Development System

More information

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller of 8085 microprocessor 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration 8-bit

More information

Subject Code: Model Answer Page No: /25

Subject Code: Model Answer Page No: /25 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

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

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes

More information

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

Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1 Introduction to Assembly Language Programming (Instruction Set) 1/18/2011 1 High Level Language Compiler Assembly Language Assembler Machine Code Microprocessor Hardware 1/18/2011 2 8085A Instruction Set

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085

More information

The due date for submitting this assignment has passed. 1) How many times will the following loop be executed? Depends on the initial value of A

The due date for submitting this assignment has passed. 1) How many times will the following loop be executed? Depends on the initial value of A X reviewer2@nptel.iitm.ac.in Courses» and Microcontrollers Unit 4 - Week 3 Announcements Course Ask a Question Progress Mentor Course outline How to access the portal Week 3 Assignment The due date for

More information

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

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33 MSMF GATE CENTRE Sub: MICROPROCESSORS Time: 50min Date:20-12-16 Marks:33 1. Which interrupt has highest priority in 8085 microprocessor? a) INTR b) RST 4.5 c) RST 6.5 d) RST 7.5 2. In 8085 microprocessor,

More information

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

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks) MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT I THE 8085 & 8086 MICROPROCESSORS PART A (2 Marks) 1. Give the significance of SIM and RIM instruction available in 8085. [NOV/DEC 2006] Instruction

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

LAB 1 Introduction to 8085 Microprocessor Development System Board

LAB 1 Introduction to 8085 Microprocessor Development System Board EKT222 - Microprocessor System LAB 1 LAB 1 Introduction to 8085 Microprocessor Development System Board Microprocessor Laboratory page 1 EKT222 - Microprocessor System LAB 1 8085 Microprocessor Development

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

ELECTRICAL ENGINEERING

ELECTRICAL ENGINEERING Serial : 1. JP_EE_Microprocessor_130618 CLASS TEST Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: 011-45124612 ELECTRICAL ENGINEERING

More information

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer Lect. (1) Introduction to microprocessor and microcomputer Reference Books: 1. Ramesh S. Gaonkar, "Microprocessor Architecture, Programming and Application with the 8085". 2. Anokh Singh, A.K. Chhabra,Fundamentals

More information

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

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit. LIST OF PROGRAMS Prg. Name of the Program No. 1 Study of Pin Diagram of 8085 2 Study of Architecture of 8085 3 Study of 8085 Kit 4 Reverse Order 5 Exchange of memory blocks 6 Absolute Difference 7 Even

More information

Its Assembly language programming

Its Assembly language programming 8085 Architecture & Its Assembly language programming Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati 8085 Era and Features 8085 Outline Block diagram (Data Path) Bus Structure Register Structure

More information

Segment A Programmable Peripheral Interface (PPI)

Segment A Programmable Peripheral Interface (PPI) Segment 6 8255A Programmable Peripheral Interface (PPI) Content Why 8255A? Handshaking and Handshaking Signal Parallel Data Transfer 8255A Internal Block Diagram Description of 8255A Internal Block Diagram

More information

GATE Exercises on Microprocessors

GATE Exercises on Microprocessors 1 GATE Exercises on Microprocessors Abstract This problem set has questions taken from GATE papers over the last twenty years. Teachers can use the problem set for courses tutorials. 1) The clock frequency

More information

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

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5. DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in

More information

Netaji Subhas Institute of Technology, New Delhi

Netaji Subhas Institute of Technology, New Delhi Netaji Subhas Institute of Technology, New Delhi Microprocessors Lab (EC-316) CRICKET SCORE DISPLAY (MPU 8085 Project Report) Under the supervision of Prof. Dhananjay V.Gadre DEPTT. OF ELECTRONICS AND

More information

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microprocessor Subject Code: 17443 I m p o r t a n t I n s t r u c t i o n s t o e x a m i n e r s : 1) The answers should be examined by key words and

More information

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly. Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale

More information

ROEVER ENGINEERING COLLEGE

ROEVER ENGINEERING COLLEGE ROEVER ENGINEERING COLLEGE ELAMBALUR, PERAMBALUR- 621 212 DEPARTMENT OF INFORMATION TECHNOLOGY MICROPROCESSOR & MICROCONTROLLER 2 marks questions andanswers Unit I 1. Define microprocessor? A microprocessor

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor understands

More information

EC- 316 MICROPROCESSORS LAB PROJECT BASED ON INTEL 8085

EC- 316 MICROPROCESSORS LAB PROJECT BASED ON INTEL 8085 EC- 316 MICROPROCESSORS LAB PROJECT BASED ON INTEL 8085 TITLE: COMPLETE THE PATTERN Submitted by: ECE-3: RAJAT SINGH (135/EC/13) RIPUDAMAN SINGH (137/EC/13) PROJECT TITLE AND PARTNER DETAILS Project Title:

More information

EKT222 Miroprocessor Systems Lab 5

EKT222 Miroprocessor Systems Lab 5 LAB 5: Interrupts Objectives: 1) Ability to define interrupt in 8085 microprocessor 2) Ability to understanding the interrupt structure in the 8085 microprocessor 3) Ability to create programs using the

More information

Matrix Multiplication in 8085

Matrix Multiplication in 8085 Matrix Multiplication in 8085 Semester Project for B.Tech. (Computer Science & Engineering) by Praneeth A S (UG20110023) & Rohit Yeravothula (UG201110039) Project Guide: Dr. K R Chowdhary Head of Department,

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit

More information

Instruction Set Instruction set of 8085 can be classified in following groups: Data Transfer Instructions These instructions can perform data transfer operations between Registers of 8085 e.g. MOV 8085

More information

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

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples. (1) Explain instruction format and Opcode format of 8085 μp with example. OR With help of examples, explain the formation of opcodes of 8085 OR What is an instruction? List type of instruction based on

More information

Practical Course File For

Practical Course File For Practical Course File For Microprocessor (IT 473) B.Tech (IT) IV-SEM Department of IT University Institute of Engineering & Technology Panjab University, Chandigarh Page 1 INTRODUCTION... 4 EXPERIMENT-1:

More information

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

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem

More information

8085 INSTRUCTION SET INSTRUCTION DETAILS

8085 INSTRUCTION SET INSTRUCTION DETAILS 8085 INSTRUCTION SET INSTRUCTION DETAILS DATA TRANSFER INSTRUCTIONS MOV Rd, Rs Copy from source to destination This instruction copies the contents of the source register Rs into the destination register

More information

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

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

EE309: Computer Organization, Architecture and MicroProcessors. sumantra/courses/up/up.html GND HIGH ORDER ADDRESS BUS

EE309: Computer Organization, Architecture and MicroProcessors.   sumantra/courses/up/up.html GND HIGH ORDER ADDRESS BUS CMP:8085 Primer-1 EE309: Computer Organization, rchitecture and MicroProcessors http://www.ee.iitb.ac.in/ sumantra/courses/up/up.html The 8085 Chip F LGS: S Z x x P x cy EXTERNLLY INITITED SIGNLS SERIL

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. QUESTION BANK DEPARTMENT: EEE SUB CODE: EE2324 YR/ SEM:III/ VI SUB NAME: MICROPROCESSORS & MICROCONTROLLERS UNIT 2- PROGRAMMING OF 8085 MICROPROCESSORS

More information

INSTRUCTION SET OF 8085

INSTRUCTION SET OF 8085 INSTRUCTION SET OF 8085 Instruction Set of 8085 An instruction is a binary pattern designed inside a microprocessor to perform a specific function. The entire group of instructions that a microprocessor

More information

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

1. What is Microprocessor? Give the power supply & clock frequency of 8085? 1. What is Microprocessor? Give the power supply & clock frequency of 8085? A microprocessor is a multipurpose, programmable logic device that reads binary instructions from a storage device called memory

More information

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

COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS COPYRIGHT IS NOT RESERVED BY AUTHORS. AUTHORS ARE NOT RESPONSIBLE FOR ANY LEGAL ISSUES ARISING OUT OF ANY COPYRIGHT DEMANDS AND/OR REPRINT ISSUES CONTAINED IN THIS MATERIALS. THIS IS NOT MEANT FOR ANY

More information

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

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial : LS2_EE_S_Microprocessors_2688 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -452462 CLASS TEST 28-9 ELECTRICAL ENGINEERING

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

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

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial :. PT_EE-EC_A_Microprocessor_968 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -452462 CLASS TEST 28-9 Subject : Microprocessors

More information

SAMPLE STUDY MATERIAL

SAMPLE STUDY MATERIAL Microprocessor-IN Postal Correspondence Course 1 SAMPLE STUDY MATERIAL Instrumentation Engineering IN Postal Correspondence Course GATE & PSUs Microprocessor Microprocessor-IN Postal Correspondence Course

More information

MICROPROCESSORS AND MICROCONTROLLER

MICROPROCESSORS AND MICROCONTROLLER Program: To display two digits on a 7 segment displays START: MVI A, 80 ; Control word 80H is stored in Acc OUT CWR ; Control word is send to Control Word Reg. of 8255 LDA 4500 ; The data to be displayed

More information

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller EE4380 Fall 2001 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Architecture Programmer s View Register Set Instruction Set Memory

More information

ET2640 Microprocessors

ET2640 Microprocessors ET2640 Microprocessors Unit -2 Processor Programming Concepts Basic Control Instructor : Stan Kong Email : skong@itt-tech.edu Figure 2 4 Bits of the PSW Register 8051 REGISTER BANKS AND STACK 80 BYTES

More information

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

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24 Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2065 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass

More information

Microprocessor Architecture

Microprocessor Architecture Microprocessor - 8085 Architecture 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration

More information

8051 Microcontrollers

8051 Microcontrollers 8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation

More information

EXPERIMENT-1 AIM: Familiarization of different keys of 8085 microprocessor kit and its memory map. APPARATUS: 8085 kit. DIAGRAM:

EXPERIMENT-1 AIM: Familiarization of different keys of 8085 microprocessor kit and its memory map. APPARATUS: 8085 kit. DIAGRAM: EXPERIMENT-1 AIM: Familiarization of different keys of 8085 microprocessor kit and its memory map. APPARATUS: 8085 kit. DIAGRAM: Reset VCT INT Shift C D E F RTG SI INSD DELD 8 9 A B DEL GO INS BM REL EMEM

More information

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor Subject Name: Microprocessor and Microcontroller Year: 3 rd Year Subject Code: CS502 Semester: 5 th Module Day Assignment 1 Microprocessor

More information

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085 BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA Introduction to 8085 It was introduced in 1977. It is 8-bit microprocessor. Its actual name is 8085 A. It is single NMOS device. It contains 6200 transistors

More information

Basic I/O Interface. CEN433 King Saud University Dr. Mohammed Amer Arafah

Basic I/O Interface. CEN433 King Saud University Dr. Mohammed Amer Arafah Basic I/O Interface CEN433 King Saud University Dr. 1 I/O Instructions Two types: Transfer data between the processor accumulator (AL, AX, EAX) register and I/O device: IN and OUT Transfer string data

More information

8085 HOW-TO GUIDE Interfacing 8251 with 8085

8085 HOW-TO GUIDE Interfacing 8251 with 8085 8085 HOW-TO GUIDE Interfacing 8251 with 8085 Contents at a Glance 8085 Trainer Board... 3 8251 (USART)... 3 Interfacing 8251 with 8085... 4 Pin Assignment with 8051... 5 Circuit Diagram to Interface 8251

More information

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085 mailme@gursharansingh.in BLOCK DIAGRAM OF INTEL 8085 mailme@maninderkaur.in Introduction to 8085 It was introduced in 1977. It is 8-bit microprocessor. Its actual name is 8085 A. It is single NMOS device.

More information

Introduction To MCS-51

Introduction To MCS-51 Introduction To MCS-51 By Charoen Vongchumyen Department of Computer Engineering Faculty of Engineering KMITLadkrabang 8051 Hardware Basic Content Overview Architechture Memory map Register Interrupt Timer/Counter

More information

Figure Programming model

Figure Programming model LAB 1: Intel 8051 CPU PROGRAMMING DATA TRANSFER INSTRUCTIONS OBJECTIVES At the end of the laboratory works, you should be able to write simple assembly language programs for the Intel 8051 CPU using data

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

SOLUTION MANUAL FOR THE 8051 MICROCONTROLLER 4TH EDITION BY MACKENZIE AND PHAN

SOLUTION MANUAL FOR THE 8051 MICROCONTROLLER 4TH EDITION BY MACKENZIE AND PHAN SOLUTION MANUAL FOR THE 8051 MICROCONTROLLER 4TH EDITION BY MACKENZIE AND PHAN Chapter 1 - Introduction to Microcontrollers 1. (a)the first widely used microprocessor was the 8080. (b) The 8080 was introduced

More information

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12 Chapter 9 Input/Output (I/O) Ports and Interfacing Updated: 3/13/12 Basic Concepts in I/O Interfacing and PIC18 I/O Ports (1 of 2) I/O devices (or peripherals) such as LEDs and keyboards are essential

More information

Microprocessor Architecture. mywbut.com 1

Microprocessor Architecture. mywbut.com 1 Microprocessor Architecture mywbut.com 1 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory. The microprocessor

More information

Lecture-50 Intel 8255A: Programming and Operating Modes

Lecture-50 Intel 8255A: Programming and Operating Modes Lecture-50 Intel 8255A: Programming and Operating Modes Operation Description: There are three basic modes of operation that can be selected by the system software. Mode 0: Basic Input/output Mode 1: Strobes

More information

Lab2: 8255 Interfacing

Lab2: 8255 Interfacing AL-Hussein Bin Talal University College of Engineering Department of Computer Engineering Computer Interfacing and Peripherals Lab Student Name: Student Number: Dr. Fadi Abu-Amara Eng. Huda Saqallah Lab2:

More information

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

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial : 01. ND_EE_NW_Microprocessors_150718 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: 011-45124612 CLASS TEST 2018-19 ELECTRICAL

More information

Programmable Peripheral Interface (PPI) 8255A. CEN433 King Saud University Dr. Mohammed Amer Arafah

Programmable Peripheral Interface (PPI) 8255A. CEN433 King Saud University Dr. Mohammed Amer Arafah Programmable Peripheral Interface (PPI) 8255A CEN433 King Saud University Dr. 1 Functional Diagram 2 Pin Description 3 8255A Basic Operation A 1 A 0 Port 0 0 Port A 0 1 Port B 1 0 Port C 1 1 Control Word

More information

Lecture Note On Microprocessor and Microcontroller Theory and Applications

Lecture Note On Microprocessor and Microcontroller Theory and Applications Lecture Note On Microprocessor and Microcontroller Theory and Applications MODULE: 1 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip

More information

EECE 340 Introduction to Microprocessors w/lab Section A. Term Project Parking Visitor Counter

EECE 340 Introduction to Microprocessors w/lab Section A. Term Project Parking Visitor Counter Section A Term Project Parking Visitor Counter Group Members: Instructor: Dr. Jinane Biri Due date: Sunday, Dec. 16, 2012 1 Table of Contents 1. Objective... 2 2. Introduction and Problem Description...

More information

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

UNIT 1 REFERENCE 1 PREPARED BY S.RAVINDRAKUMAR, LECT/ECE, CHETTINAD COLLEGE OF ENGG AND TECH, KARUR UNIT 1 REFERENCE 1 PROGRAMMING THE 8085 DEVELOPMENT OF PROGRAM A program is a sequence of instructions written to tell a computer to perform a specific function. The instructions are selected from the

More information

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

Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts Lecture 4 Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts One part is the task to be performed, called operation code or opcode in

More information

Programming of 8085 microprocessor and 8051 micro controller Study material

Programming of 8085 microprocessor and 8051 micro controller Study material 8085 Demo Programs Now, let us take a look at some program demonstrations using the above instructions Adding Two 8-bit Numbers Write a program to add data at 3005H & 3006H memory location and store the

More information

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

Microprocessor Micro Syllabus BSc. CSIT, IOST, TU. Microprocessor Microprocessor Micro Syllabus BSc. CSIT, IOST, TU Microprocessor Course Title: Microprocessor Full Marks: 60 + 20 + 20 Course No: CSC162 Pass Marks: 24 + 8 + 8 Nature of the Course: Theory + Lab Credit

More information

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

AE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS Q.2 a. Draw pin diagram and signal group diagram of 8085 microprocessor. (8) b. List out the various categories of the 8085 instructions. Give examples of the instructions for each group. (8) Data transfer

More information

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

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller. Course B.E(EEE) Batch 2015 Semester V Subject code subject Name UAEE503 Microprocessor and Microcontroller question bank UNIT-1 Architecture of a Microprocessor PART-A Marks: 2 1 Distinguish between microprocessor

More information

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller. UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip

More information

3. The MC6802 MICROPROCESSOR

3. The MC6802 MICROPROCESSOR 3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE

Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE 8085 -Internal Architecture - Addressing modes - Instruction set -Timing diagrams -Interrupts-Assembly language Programming 1. Internal Architecture of 8085 Microprocessor

More information

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

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor Course Title Course Code MICROPROCESSOR & ASSEMBLY LANGUAGE PROGRAMMING DEC415 Lecture : Practical: 2 Course Credit Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be

More information

OMEN Alpha / issue 4. Technical Documentation

OMEN Alpha / issue 4. Technical Documentation OMEN Alpha / issue 4 Technical Documentation OMEN Computers - - - https://github.com/osmibity - - - Page: 1 INTRODUCTION == The OMEN Alpha computer kit is a low-cost computer trainer, based on the Intel

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

PERIPHERAL INTERFACING Rev. 1.0

PERIPHERAL INTERFACING Rev. 1.0 This work is licensed under the Creative Commons Attribution-NonCommercial-Share Alike 2.5 India icense. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/in/deed.en

More information

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output 8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes

More information

EXAMPLE PROGRAMS 8085

EXAMPLE PROGRAMS 8085 P! EXAMPLE PROGRAMS 8085 Statement:Multiply the 8-bit unsigned number in memory location 2200H by the 8-bit unsigned number in memory location 2201H. Store the 8 least significant bits of the result in

More information

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller UNIT I SYLLABUS INTRODUCTION TO 8085 Intel 8085 Microprocessor architecture signals Addressing modes Instruction classification Instruction set Timing diagram ALP format Programming 8085 8-bit and 16-bit

More information

CC411: Introduction To Microprocessors

CC411: Introduction To Microprocessors CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Describe the Intel family of microprocessors from 8085 to Pentium. In terms of bus size, physical memory & special

More information

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

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks) QUESTION BANK EE 6502 / Microprocessor and Microcontroller Unit I- 8085 Processor PART-A (2-Marks) YEAR/SEM : III/V 1. What is meant by Level triggered interrupt? Which are the interrupts in 8085 level

More information

MICROPROCESSOR BASICS AND RELATED TERMS

MICROPROCESSOR BASICS AND RELATED TERMS MICROPROCESSOR BASICS AND RELATED TERMS Microprocessor: Programmable integrated device that has computing ability and decision making capacity. It is the CPU of computer. A multipurpose, programmable,

More information

Three criteria in Choosing a Microcontroller

Three criteria in Choosing a Microcontroller The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program

More information

Real Time Operating Systems Application Board Details

Real Time Operating Systems Application Board Details Real Time Operating Systems Application Board Details Hardware Interface All labs involve writing a C program to generate an interface between a PC and an external Multi-Applications board. A 40-way ribbon

More information

Week 7. Input/Output Interface Circuits and LSI Peripheral Devices

Week 7. Input/Output Interface Circuits and LSI Peripheral Devices Week 7 Input/Output Interface Circuits and LSI Peripheral Devices Core and Special Purpose I/O Interfaces Special purpose I/O interfaces display parallel printer interface serial communication interface

More information

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC. MICROCONTROLLERS AND APPLICATIONS 1 Module 1 Module I Introduction to Microcontrollers: Comparison with Microprocessors Harvard and Von Neumann Architectures - 80C51 microcontroller features - internal

More information

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka INTRODUCTION Microcontroller vs General Purpose Microprocessor General-purpose microprocessors contains No RAM No

More information

Microprocessors and Microcontrollers (EE-231)

Microprocessors and Microcontrollers (EE-231) Microprocessors and Microcontrollers (EE-231) Main Objectives 8088 and 80188 8-bit Memory Interface 8086 t0 80386SX 16-bit Memory Interface I/O Interfacing I/O Address Decoding More on Address Decoding

More information

(2½ Hours) [Total Marks: 75]

(2½ Hours) [Total Marks: 75] (2½ Hours) [Total Marks: 75] N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question must be written together.

More information