CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration Examples 3

Size: px
Start display at page:

Download "CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration Examples 3"

Transcription

1 1 CONTENTS PAGE NO 1.0 Introduction Description of the Circuit Installation Demonstration Examples Demonstration Program for MPS 85-3 Trainer Demonstration Program for ESA 85-2 Trainer Demonstration Program for ESA-80 Trainer Demonstration Program for ESA-65 Trainer Demonstration Program for ESA-31 Trainer Demonstration Program for ESA-68K Trainer Demonstration Program for ESA-196 Trainer Demonstration Program for ESA 86/88-2 Trainer Demonstration Program for ESA 68-2 Trainer Demonstration Program for ESA-51 Trainer Demonstration Program for ESA 86/88-3 Trainer Demonstration Program for ESA 51E Trainer Demonstration Program for ESA 86/88E Trainer Exercises 17 Appendix A : Component Layout Diagram Appendix B : Schematic Diagram

2 2 1.0 INTRODUCTION Electro Systems Associates Private Limited (ESA) manufactures trainers for most of the popular microcomputers viz 8085, Z-80, 6502, 8031, 8086/8088, and ESA offers a variety of modules which can be interfaced to these trainers. These modules can be effectively used for teaching/training in the laboratories. The Dual DAC interface can be used to generate different interesting waveforms using microprocessor. There are two eight bit digital to analog converters provided, based on DAC The digital inputs to these DACs are provided through the port A and port B of 8255 used as output ports. The analog output from the DACs are given to operational amplifiers which act as current to voltage converters. Two 10K ohms pots are provided for the offset balancing of opamps. The reference voltage needed for the DACs is obtained from a onboard voltage regulator ua723. The voltage generated by this regulator is about 8V. The outputs from the DACs vary between 0 to 5V corresponding to values between 00 to FF. Different waveforms can be observed at the opamp outputs depending upon the digital input patterns. 2.0 DESCRIPTION OF THE CIRCUIT Please refer to the schematics of this interface presented in Appendix B. As can be seen from the circuit only 17 lines from the connector are used totally. The port A and port B of 8255 programmable peripheral interface are used as output ports. The digital inputs to the DACs are provided through the port A and port B of The analog outputs of the DACs are connected to the inverting inputs of opamps ua741 which act as current to voltage converters. The outputs from the opamps are connected to points marked Xout & Yout at which the wave forms are observed on a CRO. (Port A is used to control Xout and Port B is used to control Yout). The reference voltage for the DACs is derived from an on-board voltage regulator ua723. It generates a voltage of about 8V. The offset balancing of the opamps is done by making use of the two 10K pots provided. The output waveforms are observed at Xout and Yout on an oscilloscope. 3.0 INSTALLATION The interface is housed in a plastic enclosure which has a locking mechanism. To open the cover, push in the locking mechanism with a finger and lift the cover to open.

3 3 The interface module has a 26-pin connector at one edge of the card. This is used for connecting the interface to the trainer with a flat cable connector set. External power supplies +12V and -12V and GND are connected to points marked +12V and -12V and GND respectively on the DAC card through the 4 pin connector provided on the interface. Table 3-1 shows the connector on various trainers to which this interface can be connected. Some trainers have two connectors and either may be used for connecting this interface. The demonstration programs presented in this manual assume that the interface is connected to connector shown in column A. If the connector shown in column B is used, then user has to change the port addresses appropriately. User may refer to the component layout diagrams of respective ESA trainers to locate the connectors mentioned here. TABLE-3.1 MICROPROCESSOR A B TRAINER MPS85-3 J2 J1 ESA85-2 J2 J1 ESA-80 J2 J1 ESA-65 P4 ESA-68K P3 P4 ESA 68K-2 J2 J1 ESA 68-2 J1 J6 ESA 196 J1 J2 ESA-31 J2 J1 ESA-51 J10 J7 ESA-51E J5 J3 ESA-86/88-2 J4 J5 ESA-86/88-3 J8 J9 ESA-86/88E J4 J6 4.0 DEMONSTRATION EXAMPLES DESCRIPTION OF DEMO PROGRAM To use DAC initialise 8255 for Mode 0 with Port A and Port B as output. Output the data on the appropriate port, and observe the output waveform at 'Xout' and 'Yout' on an oscilloscope.

4 4 4.1 DEMONSTRATION PROGRAM FOR MPS 85-3 TRAINER ; Assume the interface is connected over J2 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. ; Enter the following sample program and execute the program ; using 'GO' Command. Port A EQU 40H Port B EQU 41H ADDRESS OPCODE LABLE MNEMONIC COMMENTS 8C00 3E 80 MVI A,80H ;Initialise 8255 ;for mode 0. 8C02 D3 43 OUT 43H ;Port A & Port ;B as output Ports 8C04 AF XRA A ;Start with a ;value 00H. 8C05 D3 40 LOOP1: OUT PORTA ;Out to DAC 1. 8C07 D3 41 OUT PORTB ;Out to DAC 2. 8C09 3C INR A ;Increment the ;DAC input. 8C0A FE FF CPI 0FFH ;Has the Peak value ;been reached. 8C0C C2 05 8C JNZ LOOP1 ;No, loop back. 8C0F D3 40 LOOP2: OUT PORTA ;Out to DAC 1 8C11 D3 41 OUT PORTB ;Out to DAC 2 8C13 3D DCR A ;Decrement the ;DAC input. 8C14 C2 0F 8C JNZ LOOP2 ;Minimum value not ;reached, loop back 8C17 C3 05 8C JMP LOOP1 ;Repeat for ever 4.2 DEMONSTRATION PROGRAM FOR ESA 85-2 TRAINER ; Assume the interface is connected over J2 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. ADDRESS OPCODE LABEL MNEMONIC COMMENTS E 80 MVI A,80H ;Initialise 8255 ;for mode D3 43 OUT 43H ;Port A & Port B as ;output ports

5 AF XRA A ;Start with ;a value 00H 8005 D3 40 LOOP1: OUT PORTA ;Out to DAC D3 41 OUT PORTB ;Out to DAC C INR A ;Increment the ;DAC input 800A FE FF CPI 0FFH ;Has the peak value ;been reached? 800C C JNZ LOOP1 ;No, Loop back 800F D3 40 LOOP2: OUT PORT A ;Out to DAC D3 41 OUT PORT B ;Out to DAC D DCR A ;Decrement the ;DAC input 8014 C2 0F 80 JNZ LOOP2 ;Minimum value not ;reached, loop back 8017 C JMP LOOP1 ;Repeat for ever. 4.3 DEMONSTRATION PROGRAM FOR ESA-80 TRAINER CMD55 EQU A043H PORTA EQU A040H PORTB EQU A041H ; Assume the interface is connected over J2 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. ADDRESS OPCODE LABEL MNEMONIC COMMENTS E 80 LD A,80 ;Control word for ;8255 Port A & ;Port B output 8002 D3 43 OUT CMD55 ;O/P to command port 8004 AF LOOP1 : XOR A ;Clear Accumulator 8005 D3 40 OUT PORTA ;O/P the value to ;port A 8007 D3 41 OUT PORTB ;O/P the value to ;port B 8009 CD CALL DELAY ;Delay Equivalent ;to the off time ;of the square wave 800C 3E FF LDA 0FFH ;On portion of ;the wave form 800E D3 40 OUT PORTA 8010 D3 41 OUT PORTB

6 CD CALL DELAY ;Delay equivalent ;to the on time of ;the waveform C JMP LOOP FF FF DELAY: LD DE,0FFFFH ;Delay routine B BACK1: DCX D ;Pulse width can ;be varied by ;changing the B LD A,E ;value in DE ;register pair B3 ORA E 8026 C JNZ BACK C9 RET 4.4 DEMONSTRATION PROGRAM FOR ESA-65 TRAINER ; Assume the interface is connected over P4 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. CMD55 EQU A043H PORTA EQU A046H PORTB EQU A041H ADDRESS OPCODE LABLE MNEMONIC COMMENTS 1000 A9 80 LDA #$80 ;port A O/P D 43 A0 STA CMD55 ;Control port ;port B O/P 1005 A9 00 START: LDA #00H ;Output 00H D 40 A0 STA PORTA ;port A to DAC 1 100A 8D 41 A0 STA PORTB ;port B to DAC 2 100D JSR DELAY ;delay 1010 A9 FF LDA #0FFH ;output FFH D 40 A0 STA PORTA ;port A to DAC D 41 A0 STA PORTB ;port B to DAC JSR DELAY ;delay 101B 4C JMP START ;start repeat ;infinitely 1020 A9 FF DELAY: LDA #$FF ;Delay routine D STA 1030H 1025 CE JUMP: DEC 1030H 1028 D0 FB BNE JUMP 102A 60 RTS 4.5 DEMONSTRATION PROGRAM FOR ESA-31 TRAINER

7 7 ; Assume the interface is connected over J2 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. ORG SEG DAC2 8000H EQU 0E8H EQU 0E801H ADDRESS OPCODE LABLE MNEMONIC COMMENTS A0 E8 MOV P2,#SEG MOV R0,# MOV A,#80H ;Initialise F2 ;for mode0. Port A ;& B as O/P Ports ;B as output Ports 8008 E4 CLR A ;Start with value 00H F8 MOV R0,A ;out to DAC 1 800A 90 E8 01 MOV DPTR,#DAC2 ;out to DAC 2 800D F2 LOOP1: 800E F0 800F 04 INC A ;Increment the FB JNZ LOOP1 ;DAC input FF MOV A,#0FFH ;Has the peak ;been reached? ;No. loop back 8014 F2 LOOP2: ;out to DAC F0 ;out to DAC DEC A ;Decrement the ;DAC input FB JNZ LOOP2 ;Minimum value ;not reached? ;loop back F2 SJMP LOOP1 ;Repeat for ever 4.6 DEMONSTRATION PROGRAM FOR ESA-68K TRAINER ; Assume the interface is connected over P3 of the trainer. ADDRESS OPCODE MNEMONICS COMMENTS B F9 00 LEA.L $80300,A B 7C 00 MOVE.B #80,6(A5) ;Initialize

8 ;8255 all ;Ports output. 4060C CLR.B D0 4060E 1A 80 LOOP: MOVE.B D0,(A5) ;Start with ;values of B MOVE.B D0,2(A5) ;Out to DAC ADDQ.B #01,D0 ;Out to DAC F6 BRA $LOOP ;repeat for ever 4.7 DEMONSTRATION PROGRAM FOR ESA 196 TRAINER ;Assume the interface is connected over J1 of the trainer. ;The trainer can be in KEYBOARD MODE or SERIAL MODE. REG1 EQU 52H PORT_A EQU 200H PORT_B EQU 202H PORT_C EQU 204H CMD_PORT EQU 206H ADDRESS OPCODE LABLE MNEMONIC COMMENTS 8000 B LDB REG1,#80H ;Initialise 8255 for 8003 C STB REG1,CMD_PORT ;Port A & B ;O/P Ports B LDB REG1,#00H ;Start with value 00H 800B C LOOP1: STB REG1,PORT_A ;Out to DAC F C STB REG1,PORT_B ;Out to DAC INCB REG1 ;Increment DAC I/P FF 52 CMPB REG1,#0FFH ;Peak value ;is reached? 801A D7 EF JNE LOOP1 ;No loop back. 801C C LOOP2: STB REG1,PORT_A ;Out to DAC C STB REG1,PORT_B ;Out to DAC DECB REG1 ;Decrement DAC I/P D7 F2 JNE LOOP2 ;Minimum value ;not reached. 802A 27 DF SJMP LOOP1 ;No loop back

9 9 ;Repeat forever. 4.8 DEMONSTRATION PROGRAM FOR ESA 86/88-2 TRAINER ; Assume the interface is connected over J4 of the trainer. ; The trainer can be in KEYBOARD MODE or SERIAL MODE. cs = 0 MODE EQU 80H PORTA EQU FFE0H PORTB EQU FFE2H CMD_PORT EQU FFE6H ADDRESS OPCODE LABLE MNEMONIC COMMENTS 2000 BA E6 FF DDAC: MOVW DX,#CMD_PORT 2003 B0 80 MOVB AL,#Mode 2005 EE OUTB DX ;Set up 8255 ;for Mode0, ;Ports A,B, ;C output 2006 B0 00 MOVB AL,#00H ;Start with ;value of BA E0 FF Loop: MOVW DX,#PortA 200B EE OUTB DX ;Out to DAC 1 200C BA E2 FF MOVW DX,#PortB 200F EE OUTB DX ;Out to DAC INCW AX 2011 EB F5 JMP Loop ;Repeat forever 4.9 DEMONSTRATION PROGRAM FOR ESA 68-2 TRAINER ; Assume the interface is connected over J1 of the trainer. ; The trainer can be in Keyboard or Serial mode. CNTLA EQU 0C801H CNTLB EQU 0C803H DIRA EQU 0C800H DIRB EQU 0C802H ADDRESS OPCODE LABLE MNEMONIC COMMENTS 0400 ORG 400H

10 F CLRA ; INITIALISE B7 C8 01 STA CNTLA ; PORT A & PORT B AS O/P 0404 B7 C8 03 STA CNTLB ; PORTS COMA 0408 B7 C8 00 STA DIRA 040B B7 C8 02 STA DIRB 040E B7 C8 01 STA CNTLA 0411 B7 C8 03 STA CNTLB F CLRA ; START WITH VALUE B7 C8 00 LOOP1: STA DIRA ; OUT TO DAC B7 C8 02 STA DIRB ; OUT TO DAC 2 041B 4C INCA ; INCREMENT THE DAC INPUT 041C 81 FF CMPA #$0FF ; PEAK VALUE HAS REACHED? 041E 26 F5 BNE LOOP1 ; NO. LOOP BACK B7 C8 00 LOOP2: STA DIRA ; OUT TO DAC B7 C8 02 STA DIRB ; OUT TO DAC A DECA ; DECREMENT THE DAC INPUT CMPA #$00 ; MINIMUM VALUE REACHED? F5 BNE LOOP2 ; NO. LOOP BACK. 042B 20 E8 BRA LOOP1 ; REPEAT FOREVER END 4.10 DEMONSTRATION PROGRAM FOR ESA-51 TRAINER ;Assume the interface is connected over J10 of the trainer. ;The trainer can be in KEYBOARD MODE or in SERIAL MODE. SEG EQU 0E8H DAC2 EQU 0E801H ADDRESS OPCODE LABLE MNEMONIC COMMENTS ORG 8000H A0 E8 MOV P2,#SEG MOV R0,# MOV A,#80H ;Initialise F2 ;for mode E4 CLR A ;Start with F8 MOV R0,A ;out to DAC 1 800A 90 E8 01 MOV DPTR,#DAC2 ;out to DAC 2 800D F2 LOOP1: 800E F0 800F 04 INC A ;Increment the FB JNZ LOOP1 ;DAC input FF MOV A,#0FFH ;Has the peak

11 11 ;reached? 8014 F2 LOOP2: ;out to DAC F0 ;out to DAC DEC A ;Decrement the ;DAC input FB JNZ LOOP2 ;Minimum value ;reached? F2 SJMP LOOP1 ;Repeat for ever 4.11 DEMONSTRATION PROGRAM FOR ESA 86/88-3 TRAINER ; Assume the interface is connected over J10 of the trainer. ; This program generates a Square wave or a Triangular wave at ; points XOUT/YOUT of interface. The waveforms may be observed ; on an oscilloscope ; The program can be executed in STAND-ALONE MODE or SERIAL ; MODE of operation. ; The program starts at memory location 0:2000H ; Please refer ESA 86/88-3 user's manual for mnemonic syntax ; suitable to trainer Code Segment :0000H ADDRESS OPCODE LABEL MNEMONIC COMMENTS 2000 B MOVW AX,0000H ;Initialise ;Segment E C8 MOVW CS,AX ;Registers E C0 MOVW ES,AX 2007 BA E6 FF MOVW DX,0FFE6H ;Initialise 200A B0 80 MOVB AL,80H ;all 8255 ;ports as o/p 200C EE OUTB DX,AL 200D 9A FB CALLS 0FB00:0031H ;Newline routine 2012 EB 3A JMP START ;Display message ;string C MES: DB ' ' 201A E A 0D D 20 DB 0AH, 0DH, 'S-SQUARE WAVE' 202D A 0D D 20 DB 0AH, 0DH, 'T-TRIANGULAR

12 12 WAVE', 0H 203E C A D 2E CS 204E 8D START: LEA ;Display ;message on LCD B C2 MOVW AX,DX ;or Console A FB CALLS 0FB00:0013H ;Wait for A A FB GET: CALLS 0FB00:00A9H ;user entry 205E 3C 53 CMPB AL,53H ;If S, jump to JE SQUARE ;square wave ;generation ;routine C 54 CMPB AL,54H ;If T, jump to ;triangular JE TRI ;wave ;generation ;routine 2066 EB F1 JMP GET ;Wait for valid ;key only ; Triangular wave generation routine A FB TRI : CALLS 0FB00:0031H 206D B9 FF 00 RPT1: MOVW CX,0FFH ;Set up Count 2070 B0 00 MOVB AL,00H ;Start from FE C0 UP: INCB AL ;Increment ;data for +ve 2074 BA E0 FF MOVW DX,0FFE0H ;going slope ;and output 2077 EE OUTB DX,AL ;at Port A and ;Port B 2078 BA E2 FF MOVW DX,0FFE2H 207B EE OUTB DX,AL 207C E2 F4 LOOP UP 207E B9 FF 00 MOVW CX,0FFH ;Set up Count B C1 MOVW AX,CX ;Start from FFh 2083 FE C8 DOWN: DECB AL ;Decrement data ;for -ve 2085 BA E0 FF MOVB DX,0FFE0H ;going slope ;and output 2088 EE OUTB DX,AL ;at Port A ;and Port B 2089 BA E0 FF MOVW DX,0FFE0H 208C EE OUTB DX,AL

13 13 208D BA E2 FF MOVW DX,0FFE2H 2090 EE OUTB DX,AL 2091 E2 F0 LOOP DOWN 2093 E8 D8 JMP RPT1 ;Repeat ;continuously ; Square wave generation routine A FB SQUARE: CALLS 0FB00:0031H 209A B0 FF RPT2: MOVB AL,0FFH ;Output FFh at ;ports 209C BA E0 FF MOVW DX,0FFE0H 209F EE OUTB DX,AL 20A0 BA E2 FF MOVW DX,0FFE2H 20A3 EE OUTB DX,AL 20A4 B MOVW CX,1700H ;Delay 20A7 E2 FE DLY1: LOOP DLY1 20A9 B0 00 MOVB AL,00H ;Output 0 at ;ports 20AB BA E0 FF MOVW DX,0FFE0H 20AE EE OUTB DX,AL 20AF BA E2 FF MOVW DX,0FFE2H 20B2 EE OUTB DX,AL 20B3 B MOVW CX,1700H ; Delay 20B6 E2 FE DLY2: LOOP DLY2 20B8 EB 70 JMP RPT2 ; Repeat ;continuously 4.12 DEMONSTRATION PROGRAM FOR ESA-51E TRAINER ;Assume the interface is connected over J5 of the trainer. ;The trainer can be in KEYBOARD MODE or in SERIAL MODE. SEG EQU 0E8H DAC2 EQU 0E801H ADDRESS OPCODE LABLE MNEMONIC COMMENTS ORG 8000H A0 E8 MOV P2,#SEG MOV R0,# MOV A,#80H ;Initialise 8007 F2 ;8255 for ;mode E4 CLR A ;Start with 0

14 F8 MOV R0,A ;out to DAC 1 800A 90 E8 01 MOV DPTR,#DAC2 ;out to DAC 2 800D F2 LOOP1: 800E F0 800F 04 INC A ;Increment the FB JNZ LOOP1 ;DAC input FF MOV A,#0FFH ;Has the peak ;value reached? 8014 F2 LOOP2: ;out to DAC F0 ;out to DAC DEC A ;Decrement the FB JNZ LOOP2 ;DAC I/P value ;minimum value ;reached? F2 SJMP LOOP1 ;Repeat for ever 4.13 DEMONSTRATION PROGRAM FOR ESA 86/88E TRAINER ; Assume the interface is connected over J4 of the trainer. ; This program generates a Square wave or a Triangular wave at ; points XOUT/YOUT of interface. The waveforms may be observed ; on an oscilloscope ; The program can be executed in STAND-ALONE MODE or SERIAL ; MODE of operation. ; The program starts at memory location 0:2000H ; Please refer ESA 86/88E user's manual for mnemonic syntax ; suitable to trainer Code Segment :0000H ADDRESS OPCODE LABEL MNEMONIC COMMENTS 2000 B MOVW AX,0000H ;Initialise ;Segment E C8 MOVW CS,AX ;Registers E C0 MOVW ES,AX 2007 BA E6 FF MOVW DX,0FFE6H ;Initialise 200A B0 80 MOVB AL,80H ;all 8255 ;ports as o/p 200C EE OUTB DX,AL 200D 9A FB CALLS 0FB00:0031H ;Newline ;routine 2012 EB 3A JMP START ;Display ;message

15 15 ;string C MES: DB ' ' 201A E A 0D D 20 DB 0AH, 0DH, 'S-SQUARE WAVE' 202D A 0D D 20 DB 0AH, 0DH, 'T-TRIANGULAR WAVE', 0H 203E C A D 2E CS 204E 8D START: LEA ;Display ;message on LCD B C2 MOVW AX,DX ;or Console A FB CALLS 0FB00:0013H A A FB GET: CALLS 0FB00:00A9H ;Wait for user ;entry 205E 3C 53 CMPB AL,53H ;If S, jump to JE SQUARE ;square wave ;generation ;routine C 54 CMPB AL,54H ;If T, jump to ;triangular JE TRI ;wave ;generation ;routine 2066 EB F1 JMP GET ;Wait for valid ;key only ; Triangular wave generation routine A FB TRI : CALLS 0FB00:0031H 206D B9 FF 00 RPT1: MOVW CX,0FFH ;Set up Count 2070 B0 00 MOVB AL,00H ;Start from FE C0 UP: INCB AL ;Increment ;data for +ve 2074 BA E0 FF MOVW DX,0FFE0H ;going slope ;and output 2077 EE OUTB DX,AL ;at Port A and ;Port B 2078 BA E2 FF MOVW DX,0FFE2H 207B EE OUTB DX,AL

16 16 207C E2 F4 LOOP UP 207E B9 FF 00 MOVW CX,0FFH ;Set up Count B C1 MOVW AX,CX ;Start from FFh 2083 FE C8 DOWN: DECB AL ;Decrement data ;for -ve 2085 BA E0 FF MOVB DX,0FFE0H ;going slope ;and output 2088 EE OUTB DX,AL ;at Port A ;and Port B 2089 BA E0 FF MOVW DX,0FFE0H 208C EE OUTB DX,AL 208D BA E2 FF MOVW DX,0FFE2H 2090 EE OUTB DX,AL 2091 E2 F0 LOOP DOWN 2093 E8 D8 JMP RPT1 ;Repeat ;continuously ; Square wave generation routine A FB SQUARE: CALLS 0FB00:0031H 209A B0 FF RPT2: MOVB AL,0FFH ;Output FFh at ;ports 209C BA E0 FF MOVW DX,0FFE0H 209F EE OUTB DX,AL 20A0 BA E2 FF MOVW DX,0FFE2H 20A3 EE OUTB DX,AL 20A4 B MOVW CX,1700H ;Delay 20A7 E2 FE DLY1: LOOP DLY1 20A9 B0 00 MOVB AL,00H ;Output 0 at ;ports 20AB BA E0 FF MOVW DX,0FFE0H 20AE EE OUTB DX,AL 20AF BA E2 FF MOVW DX,0FFE2H 20B2 EE OUTB DX,AL 20B3 B MOVW CX,1700H ;Delay 20B6 E2 FE DLY2: LOOP DLY2 20B8 EB 70 JMP RPT2 ;Repeat ;continuously 5.0 EXERCISES

17 17 The sample program presented in this manual demonstrated some specific applications of this interface. A few exercises are presented below to enable the user gain a better understanding of the interface. Users are encouraged to visualize other applications and develop software accordingly. Some of the suggested exercises are: 1) Character generation: For eg: Generating the character A 2) Generation of Sine wave. 3) Generation of circle. 4) Generation of following waveform:

CONTENTS. 1.0 Introduction Description of the Circuit Installation Connection of Power Supply 4

CONTENTS. 1.0 Introduction Description of the Circuit Installation Connection of Power Supply 4 1 CONTENTS PAGE NO 1.0 Introduction 2 2.0 Description of the Circuit 3 3.0 Installation 3 3.1 Connection of Power Supply 4 3.2 Connection of Output Signals to Relay Contacts 4 3.3 Interfacing to ESA Trainers

More information

CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration Examples 3

CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration Examples 3 1 CONTENTS PAGE NO 1.0 Introduction 2 2.0 Description of the Circuit 2 3.0 Installation 2 4.0 Demonstration Examples 3 4.1 Demonstration Program for MPS 85-3 Trainer 4 4.2 Demonstration Program for ESA

More information

CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration 4

CONTENTS. 1.0 Introduction Description of the Circuit Installation Demonstration 4 1 CONTENTS PAGE NO 1.0 Introduction 2 2.0 Description of the Circuit 2 3.0 Installation 3 4.0 Demonstration 4 4.1 Demonstration Program for MPS 85-3 Trainer 6 4.2 Demonstration Program for ESA 85-2 Trainer

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

CONTENTS. 1.0 Introduction Description of the LCD Module Description of the Interface Installation 3

CONTENTS. 1.0 Introduction Description of the LCD Module Description of the Interface Installation 3 1 CONTENTS PAGE NO 1.0 Introduction 2 2.0 Description of the LCD Module 2 3.0 Description of the Interface 3 4.0 Installation 3 5.0 Initialisation of the LCD Module 4 6.0 Demonstration Examples 7 6.1 Demonstration

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

8251 AND 8253 PROGRAMMABLE COMMUNICATION INTERFACE AND PROGRAMMABLE INTERVAL TIMER

8251 AND 8253 PROGRAMMABLE COMMUNICATION INTERFACE AND PROGRAMMABLE INTERVAL TIMER 8251 AND 8253 PROGRAMMABLE COMMUNICATION INTERFACE AND PROGRAMMABLE INTERVAL TIMER 1. INTRODUCTION Electro System Associates Private Limited (ESA) manufactures trainers for most of the popular microprocessors

More information

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING EMBEDDED SYSTEMS LAB

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING EMBEDDED SYSTEMS LAB DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING EMBEDDED SYSTEMS LAB MICROPROCESSORS & MICROCONTROLLERS LAB (IT) III - B. Tech., I - Semester PRASAD V POTLURI SIDDHARTHA INSTITUTE OF TECHNOLOGY (Autonomous,

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

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

MC68705P3 Bootstrap ROM

MC68705P3 Bootstrap ROM MC68705P3 Bootstrap ROM ;This is a listing of the Bootstrap ROM which resides in Motorola's MC68705P3 single chip ;micros. Its sole purpose is to program its own EPROM by copying the data from an external

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

Programming Book for 6809 Microprocessor Kit

Programming Book for 6809 Microprocessor Kit Programming Book for 6809 Microprocessor Kit Wichit Sirichote, wichit.sirichote@gmail.com Image By Konstantin Lanzet - CPU collection Konstantin Lanzet, CC BY-SA 3.0, Rev1.2 March 2018 1 Contents Lab 1

More information

Sri Krishna Engineering College Panapakkam, Chennai 601 301 Lab Manual CS2259 MICROPROCESSORS LAB Department of Electronics and Communication Engineering CS 2259 Microprocessors Lab SKEC Page 1 List of

More information

8259A - STUDY CARD 1. INTRODUCTION

8259A - STUDY CARD 1. INTRODUCTION 8259A - STUDY CARD 1. INTRODUCTION Electro Systems Associates Private Limited (ESA) manufactures trainers for most of the popular microprocessors viz 8085, Z-80, 8031 8086/88, 68000 and 80196. ESA offers

More information

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction Order this document by /D Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas Introduction More and more applications are requiring liquid crystal displays

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

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

SN8F5000 Family Instruction Set

SN8F5000 Family Instruction Set SONiX Technology Co., Ltd. 8051-based Microcontroller 1 Overview SN8F5000 is 8051 Flash Type microcontroller supports comprehensive assembly instructions and which are fully compatible with standard 8051.

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

ICAL EN LAB MANUAL CS MICROPROCESSOR AND MICROCONTROLLER LABORATORY. Regulation. Branch. Year & Semester. Dharmapuri : B.E. CSE.

ICAL EN LAB MANUAL CS MICROPROCESSOR AND MICROCONTROLLER LABORATORY. Regulation. Branch. Year & Semester. Dharmapuri : B.E. CSE. Dharmapuri 636 703 LAB MANUAL Regulation : 203 Branch : B.E. CSE. Year & Semester : II Year / IV Semester CS 642 - MICROPROCESSOR AND MICROCONTROLLER LABORATORY ICAL EN 2 ANNA UNIVERSITY CHENNAI Regulation

More information

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

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL ELECTRONICS & MICROPROCESSOR LAB MANUAL 2/4 CSE: II- SEMESTER SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU 534007 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING DIGITAL ELECTRONICS & MICROPROCESSOR LAB MANUAL 2/4 CSE: II- SEMESTER Faculty: B.Homer Benny (Section- A

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

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

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

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

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

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

There are lot of research scope in field of microprocessor, today word is electronic world and computer and electronic equipment are using in every

There are lot of research scope in field of microprocessor, today word is electronic world and computer and electronic equipment are using in every There are lot of research scope in field of microprocessor, today word is electronic world and computer and electronic equipment are using in every field. Improve the quality and feature of the existing

More information

CS2259-MICROPROCESSOR AND MICROCONTROLLER LABORATORY MANUAL

CS2259-MICROPROCESSOR AND MICROCONTROLLER LABORATORY MANUAL CS2259-MICROPROCESSOR AND MICROCONTROLLER LABORATORY LABORATORY MANUAL FOR IV SEMESTER B.TECH / IT ACADEMIC YEAR: 2012-2013 (FOR PRIVATE CIRCULATION ONLY) ANNA UNIVERSITY, CHENNAI. NAME REG.NO BATCH :

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

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

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

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

MC68705U3 Bootstrap ROM

MC68705U3 Bootstrap ROM MC68705U3 Bootstrap ROM ;This is a listing of the Bootstrap ROM which resides in Motorola's MC68705U3 single chip ;micros. Its sole purpose is to program its own EPROM by copying the data from an external

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

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

Introduction to Microcontrollers

Introduction to Microcontrollers Motorola M68HC11 Specs Assembly Programming Language BUFFALO Topics of Discussion Microcontrollers M68HC11 Package & Pinouts Accumulators Index Registers Special Registers Memory Map I/O Registers Instruction

More information

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples.

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MICROCONTROLLERS AND APPLICATIONS 1 Module 2 Module-2 Contents: Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MEMORY

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

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

Example Programs for 6502 Microprocessor Kit

Example Programs for 6502 Microprocessor Kit Example Programs for 6502 Microprocessor Kit 0001 0000 0002 0000 GPIO1.EQU $8000 0003 0000 0004 0000 0005 0200.ORG $200 0006 0200 0007 0200 A5 00 LDA $0 0008 0202 8D 00 80 STA $GPIO1 0009 0205 00 BRK 0010

More information

Contents. Join the Technical Community Today!

Contents. Join the Technical Community Today! Contents CHAPTER 1: INTRODUCTION... 5 1. WELCOME... 5 1.2 PS 8051 BOARD OVERVIEW... 6 1.3 PS 8051 SPECIFICATIONS... 7 CHAPTER 2: SYSTEM DESCRIPTION... 9 2.1 HARDWARE... 9 2.2 MAPPING OF DEVICES... 11 2.2.1

More information

Assembly Language programming (3)

Assembly Language programming (3) EEE3410 Microcontroller Applications LABORATORY Experiment 3 Assembly Language programming (3) Name Class Date Class No. Marks Conditional Program Branching and Subroutine Call in 8051 Objectives To learn

More information

8051 Overview and Instruction Set

8051 Overview and Instruction Set 8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different

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

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

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

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY BACKGROUND Segment The "SEGMENT" and "ENDS" directives indicate to the assembler the beginning and ending of a segment and have the following format label SEGMENT [options] ;place the statements belonging

More information

SIR.C.R.R.COLLEGE OF ENGINEERING DEPT. OF ELECTRONICS AND INSTRUMENTATION ENGG. EIE-328: MICROPROCESSOR LABORATORY 3/4 B.E. EIE: SECOND SEMESTER

SIR.C.R.R.COLLEGE OF ENGINEERING DEPT. OF ELECTRONICS AND INSTRUMENTATION ENGG. EIE-328: MICROPROCESSOR LABORATORY 3/4 B.E. EIE: SECOND SEMESTER SIR.C.R.R.COLLEGE OF ENGINEERING DEPT. OF ELECTRONICS AND INSTRUMENTATION ENGG. EIE-328: MICROPROCESSOR LABORATORY 3/4 B.E. EIE: SECOND SEMESTER (AS PER UNIVERSITY SYLLABUS) LIST OF EXPERIMENTS 1. UNDERSTANDING

More information

ECE 3610 MICROPROCESSING SYSTEMS AN ENCRYPTED ASCII CODE DECODER

ECE 3610 MICROPROCESSING SYSTEMS AN ENCRYPTED ASCII CODE DECODER ECE 3610 MICROPROCESSIG SYSTEMS A ECRYPTED ASCII CODE DECODER 1 PROBLEM SPECIFICATIO Design a microprocessing system to decode messages which are encrypted. Each byte of the message is an encrypted ASCII

More information

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. Router A Router B Router C Router D Network Next Hop Next Hop Next Hop Next

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

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

Counters & Time Delays. Microprocessors & Interfacing 1

Counters & Time Delays. Microprocessors & Interfacing 1 Counters & Time Delays Microprocessors & Interfacing 1 Counters A loop counter is set up by loading a register with a certain value Then using the DCR (to decrement) and INR (to increment) the contents

More information

Valliammai Engineering College

Valliammai Engineering College Valliammai Engineering College SRM Nagar, Kattankulathur - 603203 Department of Electrical and Electronics Engineering EE6612 Microprocessors and Microcontrollers Laboratory LAB MANUAL VI Semester - Electrical

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

INDEX. 1 Study of intel 8085 micropeocessor kit. 2 Program to find addition of two 8 bit no. 3 Program to find subtraction of two 8 bit no.

INDEX. 1 Study of intel 8085 micropeocessor kit. 2 Program to find addition of two 8 bit no. 3 Program to find subtraction of two 8 bit no. INDEX PROGRAM NO. NAME OF THE PROGRAM 1 Study of intel 8085 micropeocessor kit SIGNATURE 2 Program to find addition of two 8 bit no. 3 Program to find subtraction of two 8 bit no. 4 Program to find 1 s

More information

Intel 8086: Instruction Set

Intel 8086: Instruction Set IUST-EE (Chapter 6) Intel 8086: Instruction Set 1 Outline Instruction Set Data Transfer Instructions Arithmetic Instructions Bit Manipulation Instructions String Instructions Unconditional Transfer Instruction

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

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote Programming Book1 8051 Microcontroller Kit Rev 3.0 January, 016 016 Wichit Sirichote 1 Contents Overview...3 SAFTY INFORMATION...3 Tools...3 Experiment 1 Blinking LED...4 Experiment Binary number counting...9

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

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( ) 6. Combinational Circuits George Boole (85 864) Claude Shannon (96 2) Signals and Wires Digital signals Binary (or logical ) values: or, on or off, high or low voltage Wires. Propagate digital signals

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

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

MICROPROCESSOR LAB PROJECT EC 316

MICROPROCESSOR LAB PROJECT EC 316 MICROPROCESSOR LAB PROJECT EC 316 MADE BY:- MANISH MEENA 96/EC/13 RAHUL VASHIST 132/EC/13 FACULTY ADVISOR:- PROF. DHANANJAY V. GADRE ACKNOWLEDGEMENT We would sincerely like to thank Associate Prof. Dhananjay

More information

8259-INTERRUPT CONTROLLER

8259-INTERRUPT CONTROLLER 8259-INTERRUPT CONTROLLER AIM: Generate an Interrupt using 8259 Interrupt Controller a) To display the pulse counter. b) To derive the frequency counter. APPARATUS: 1. ESA 86/88-2 Microprocessor kit. 2.

More information

ECE331 Handout 3- ASM Instructions, Address Modes and Directives

ECE331 Handout 3- ASM Instructions, Address Modes and Directives ECE331 Handout 3- ASM Instructions, Address Modes and Directives ASM Instructions Functional Instruction Groups Data Transfer/Manipulation Arithmetic Logic & Bit Operations Data Test Branch Function Call

More information

Programming the Motorola MC68HC11 Microcontroller

Programming the Motorola MC68HC11 Microcontroller Programming the Motorola MC68HC11 Microcontroller COMMON PROGRAM INSTRUCTIONS WITH EXAMPLES aba Add register B to register A Similar commands are abx aby aba add the value in register B to the value in

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

Microcontroller Intel [Instruction Set]

Microcontroller Intel [Instruction Set] Microcontroller Intel 8051 [Instruction Set] Structure of Assembly Language [ label: ] mnemonic [operands] [ ;comment ] Example: MOV R1, #25H ; load data 25H into R1 2 8051 Assembly Language Registers

More information

Intel Instruction Set (gas)

Intel Instruction Set (gas) Intel Instruction Set (gas) These slides provide the gas format for a subset of the Intel processor instruction set, including: Operation Mnemonic Name of Operation Syntax Operation Examples Effect on

More information

MGM S Jawaharlal Nehru Engineering College

MGM S Jawaharlal Nehru Engineering College MGM S Jawaharlal Nehru Engineering College Laboratory Manual MICROPROCESSOR AND INTERFACING TECHNIQUES For TE (EEP) Prof.J.R.Rana Author JNEC, Aurangabad PREFACE It is my great pleasure to present this

More information

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1 Version 1 Instructions Write your name on the exam paper. Write your name and version number on the top of the yellow paper. Answer Question 1 on the exam paper. Answer Questions 2-4 on the yellow paper.

More information

Instruction set of 8085

Instruction set of 8085 Instruction set of 05 /23/2016 ptkarule@rediffmail.com 1 Instruction set of 05 Instruction set is divided into various groups depending on the operations performed: 1. Data transfer 2. rithmetic 3. Logical

More information

Week /8086 Microprocessor Programming I

Week /8086 Microprocessor Programming I Week 4 8088/8086 Microprocessor Programming I Example. The PC Typewriter Write an 80x86 program to input keystrokes from the PC s keyboard and display the characters on the system monitor. Pressing any

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

Mr. Sapan Naik 1. Babu Madhav Institute of Information Technology, UTU

Mr. Sapan Naik 1. Babu Madhav Institute of Information Technology, UTU 5 Years Integrated M.Sc.(IT) Semester 4 060010402 System Programming Question Bank Unit 1: Introduction 1. Write the decimal equivalent for each integral power of 2 from 2! to 2!". 2. Convert the following

More information

instruction 1 Fri Oct 13 13:05:

instruction 1 Fri Oct 13 13:05: instruction Fri Oct :0:0. Introduction SECTION INSTRUCTION SET This section describes the aressing modes and instruction types.. Aressing Modes The CPU uses eight aressing modes for flexibility in accessing

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

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

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

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

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. NOTE: Router E should only be used for Internet traffic. Router A Router

More information

Lecture 6 Assembly Programming: Branch & Iteration

Lecture 6 Assembly Programming: Branch & Iteration CPE 390: Microprocessor Systems Spring 2018 Lecture 6 Assembly Programming: Branch & Iteration Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ

More information

Using the stack and the stack pointer

Using the stack and the stack pointer Using the stack and the stack pointer o The Stack and Stack Pointer o The stack is a memory area for temporary storage o The stack pointer points to the last byte in the stack o Some instructions which

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST 2 Date : 02/04/2018 Max Marks: 40 Subject & Code : Microprocessor (15CS44) Section : IV A and B Name of faculty: Deepti.C Time : 8:30 am-10:00 am Note: Note: Answer any five complete

More information

CR EQU 0DH LF EQU 0AH ESC EQU 1BH

CR EQU 0DH LF EQU 0AH ESC EQU 1BH MYPIC.ASM Test Program to test a 8259A by John Monahan (monahan@vitasoft.org) V0.2 3/28/2010 First version V1.0 11/14/2010 Version to test final S-100 Board This is a simple test program to show the use

More information

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING. Year & Sem : II & III. Name of the Subject: MC-9238 Microprocessor Lab Branch : MCA

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING. Year & Sem : II & III. Name of the Subject: MC-9238 Microprocessor Lab Branch : MCA DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING Year & Sem : II & III Name of the Subject: MC-9238 Microprocessor Lab Branch : MCA HOW TO WORK IN 8086: Press asm twice. Type sg 0000 Press enter Type

More information

Proposed Common Configuration Method

Proposed Common Configuration Method Proposed Common Configuration Method July 9, 1991 The Common Configuration Method (CCM) simplifies configuration of disks and other storage devices. This definition includes a Standard AT Compatible Register

More information

Control Transfer Instructions Jump, Loop, and Call. ECE473/573 Microprocessor System Design, Dr. Shiue

Control Transfer Instructions Jump, Loop, and Call. ECE473/573 Microprocessor System Design, Dr. Shiue Control Transfer Instructions Jump, Loop, and Call 1 Jump Instructions JZ label ; Jump if A=0 JNZ label ; Jump if A!=0 DJNZ reg, label ; Decrement and Jump if A (or reg.)!=0 CJNE A, byte ; Compare and

More information

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc. Order this document by /D Software I 2 C Communications By Brad Bierschenk MMD Applications Engineering Austin, Texas Introduction I 2 C Overview The I 2 C (inter-integrated circuit) protocol is a 2-wire

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

10. RS-232C communication

10. RS-232C communication 10. RS-232C communication PB9200(P5XMLA) Connecting the cable (1) Turn off the projector and the computer power supplies. (2) Connect the CONTROL port of the projector with a RS-232C port of the computer

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

UMM AL-QURA UNIVERSITY LAB MANUAL

UMM AL-QURA UNIVERSITY LAB MANUAL UMM AL-QURA UNIVERSITY LAB MANUAL Microprocessors By: College of Computer Information Systems Engineering Department of Computer Engineering Umm Al-Qura University List of Experiments Interface Experiments

More information

EC 333 Microprocessor and Interfacing Techniques (3+1)

EC 333 Microprocessor and Interfacing Techniques (3+1) EC 333 Microprocessor and Interfacing Techniques (3+1) Lecture 6 8086/88 Microprocessor Programming (Arithmetic Instructions) Dr Hashim Ali Fall 2018 Department of Computer Science and Engineering HITEC

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

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

EEM336 Microprocessors I. Data Movement Instructions

EEM336 Microprocessors I. Data Movement Instructions EEM336 Microprocessors I Data Movement Instructions Introduction This chapter concentrates on common data movement instructions. 2 Chapter Objectives Upon completion of this chapter, you will be able to:

More information