0% found this document useful (0 votes)
0 views

Microprocessor Interfacing

The document is a lab report detailing the interfacing of various study cards (ET-8255, ET-8253, ET-8279, ET-8251, ET-8259) with the ET-8086 microprocessor hardware kit. Each experiment includes a step-by-step procedure for connecting the hardware, entering assembly code, and observing outputs. The report is submitted by students of the Computer Science and Engineering Department at TIET, Patiala, for their Microprocessor-Based Systems Design course.

Uploaded by

bhuveshclans4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Microprocessor Interfacing

The document is a lab report detailing the interfacing of various study cards (ET-8255, ET-8253, ET-8279, ET-8251, ET-8259) with the ET-8086 microprocessor hardware kit. Each experiment includes a step-by-step procedure for connecting the hardware, entering assembly code, and observing outputs. The report is submitted by students of the Computer Science and Engineering Department at TIET, Patiala, for their Microprocessor-Based Systems Design course.

Uploaded by

bhuveshclans4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Lab Activity Based Report

Microprocessor-Based Systems Design (UCS617)

Lab Assignment-3 (Interfacing using 8086-Microprocessor Kit)

Submitted by:

Shivanjali Shaily (102203607)


Anahit Sandhu (102203625)
Pehu Bhatia (102203977)
Sudhanshu Dhawan (102203978)
Bhuvesh Poonia (102203752)

BE Third Year, 3C33

Submitted to:
Dr. Manju Khurana

Computer Science and Engineering Department

TIET, Patiala
Jan-May 2025

1
INDEX

S.No Title Page


no.

1. Interfacing ET-8255 study card with ET-8086 microprocessor hardware 3


kit.

2. Interfacing ET-8253 study card with ET-8086 microprocessor hardware kit. 6

3. Interfacing ET-8279 study card with ET-8086 microprocessor hardware kit. 8

4. Interfacing ET-8251 study card with ET-8086 microprocessor hardware kit. 18

5. Interfacing ET-8259 study card with ET-8086 microprocessor hardware kit. 20

2
EXPERIMENT-1

AIM :Interfacing ET-8255 study card with ET-8086 microprocessor hardware kit.

STEPS:

Step 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector, The Pin Nos. are marked in Kit and card.

Step 2: Connect +5V and GND to the kit and switch on the supply. If the Kit used is with
built in Power supply, then +5V and Gnd are internally connected and one just need to
switch on the power and Press Reset.

Step 3: Select the SW2 switch in OFF position & Enter the program given below using
Sub_MIr command if you want to enter in machine code or use EX_MEM command for
entering the program in Assembly language.

Step 4: Execute the program using <GO> command. The Program stops after first I/O
instruction. Observe the LED status as explained in the program below.

Step 5: Press Sw1 one by one and observe the LED’s status as explained in the program.

CODE:

Address Op-Code Label Mnemonics

1000:100 B0 80 START: MOV AL, 80

102 BA 86 00 MOV DX, 86

105 EE OUT DX, AL

106 B0 AA LOOP: MOV AL, AAH

3
108 BA 80 00 MOV DX, 80

10B EE OUT DX, AL

10C BA 82 00 MOV DX, 82

10F EE OUT DX, AL

110 BA 84 00 MOV DX, 84

113 EE OUT DX, AL

114 B9 FF FF MOV CX, FFFF

117 CD AA INT AA

119 B0 55 MOV AL, 55

11B BA 80 00 MOV DX, 80

11E EE OUT DX, AL

11F BA 82 00 MOV DX, 82

122 EE OUT DX, AL

123 BA 84 00 MOV DX, 84

126 EE OUT DX, AL

127 B9 FF FF MOV CX, FFFF

12A CD AA INT AA

12C E8 D8 JMP 0106

4
OUTPUT:

Fig 1.1 Interfacing ET-8255 study card with ET-8086


microprocessor hardware kit output

5
EXPERIMENT-2

AIM: Interfacing ET-8253 study card with ET-8086 microprocessor hardware kit.

STEPS:

STEP 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit and card.

STEP 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
built-in Power Supply, then +5V and Gnd are internally connected and one just need to switch on
the power and Press Reset.

STEP 3: Select the SW2 switch in OFF position & Enter the program given below using
EXMEM command.

STEP 4: Execute the program using <GO> command. The Program stops after first I/O
Instruction. Observe the LED status as explained in the program below.

STEP 5: Press Sw1 one by one and observe the LED’s status as explained in the observation.
Observe square wave form on pin no. – 13 of 8253 or OUT1 Pin on the card.

CODE:

Address Op-Code Label Mnemonics

1000:100 BA 96 00 START: MOV DX, 96

0103 B0 76 MOV AL, 76

0105 EE OUT DX, AL

0106 B0 A0 XX: MOV AL, A0

0108 BA 92 00 MOV DX, 92

6
10B EE OUT DX, AL

10C B0 00 MOV AL, 00

11E EE OUT DX, AL

11F EB EF JMP 0100

OUTPUT:

Fig 2.1 Interfacing ET-8253 study card with ET-8086


microprocessor hardware kit output

7
EXPERIMENT-3

AIM: Interfacing ET-8279 study card with ET-8086 microprocessor hardware kit.

STEPS:

STEP 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit and card.

STEP 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
built-in Power Supply, then +5V and Gnd are internally connected and one just need to switch on
the power and Press Reset.

STEP 3: Select the SW1 switch in OFF position & Enter the program given below using
EXMEM command.

STEP 4: Now short the ENBDISP pin on the card with the O8 output. By this we are connecting
the display driver transistor with the output of the decoder. Also Short ENBU7 pin with the
GND. By this we are enabling the display Buffer.

STEP 5: Execute the program using <GO> command. The Program stops after first I/O
Instruction. Observe the LED status as explained in the program below.

STEP 6: Press SW1 one by one and observe the Data Displayed on the seven segment Display
as explained in the program. Each time we press the SW1, the Data displayed increments. The
program goes in to loop after displaying eight 'F'.

CODE:

Address Op-Code Label Mnemonics

1000:400 B0 00 START MOV AL, 00


402 BA 72 01 MOV DX, 0172

405 EE OUT DX, AL

406 B0 DF MOV AL, DF

8
408 EE OUT DX, AL

409 B0 87 MOV AL, 87

40B EE OUT DX, AL

40C B3 10 MOV BL, 10

40E BE 00 13 MOV SI, 1300

411 BA 70 01 MOV DX, 0170

416 EE OUT DX, AL

417 46 INC SI

418 FE CB DEC BL

41A 75 F8 JNZ 414

41C EB E2 JMP 400

Now enter the code at address 0000: 1300 onwards

Address Op-Code Label Mnemonics

0000:1300 03
1301 9F

1302 25

1303 0D

1304 99

1305 49

1306 41

1307 1F

9
1308 01

1309 09

130A 11

130B C1

130C 63

130D 85

130E 61

130F 71

OUTPUT:

Fig 3.1 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output 1.

10
Fig 3.2 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 2.

Fig 3.3 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output 3.

11
Fig 3.4 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 4.

Fig 3.5 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output 5.

12
Fig 3.6 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 6.

Fig 3.7 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output 7.

13
Fig 3.8 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 8.

Fig 3.9 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output 9.

14
Fig 3.10 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output A.

Fig 3.11 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output b.

15
Fig 3.12 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output C.

Fig 3.13 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output d.

16
Fig 3.14 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output E.

Fig 3.15 Interfacing ET-8279 study card with ET-8086


microprocessor hardware kit displaying the output F.

17
EXPERIMENT-4

AIM: Interfacing ET-8251 study card with ET-8086 microprocessor hardware kit.

STEPS:

Steps:

Step 1: Connect the card to the kit through a 50-Pin cable. Ensure that pin-1 is
connected to pin-1 of the kit Bus connector (the pin numbers are marked).

Step 2: Connect +5V, +12V (Green wire), -12V (White wire), and GND to the Study
Card, either via a separate power supply or a connector cable from the 8086 Kit to
the four pin connector of the Study card (Only advanced 8086 kits have built-in
+5V, +12V, and -12V supply; basic kits only have +5V — so extra supply is
needed). Switch ON the power supply and press RESET on the kit.

Step 3: Enter the sample program starting from address 1000:0100 using the
appropriate command.

Step 4: Execute the program using the <GO> key as explained in the kit manual.

Step 5: Run PC Emulation software (like XTALK or PC LINK) on the PC. Set the
baud rate to 2400.

Step 6: Connect the serial cable from the study card to Port 1 of the PC.

Step 7: Execute the program and observe the results on the LED’s: Pressing the
SW1 button sends the character "A" to the PC screen, each time you press SW1,
it transmits "A".

18
CODE:

ADDRESS OP-CODE MNEMONICS

1000:0100 BA 82 00 MOV DX, 82

0103 B0 CE MOV AL, CE

0105 EE OUT DX, AL

0106 B0 37 MOV AL, 37

0108 EE OUT DX, AL

0109 EC IN AL, DX

010A 24 01 AND AL, 01

010C 74 FB JZ 109

010E B0 41 MOV AL, 41

0110 BA 80 00 MOV DX, 80

0113 EE OUT DX, AL

0114 EB F8 JMP 10E

OUTPUT:

Fig 4.1 Interfacing ET-8251 study card with ET-8086 microprocessor hardware kit output

19
EXPERIMENT 5

Aim: Interfacing ET-8259 study card with ET-8086 microprocessor hardware kit

Steps:

Step 1: Connect the card to the ki through 50-Pin cable. Ensure that the pin-1 of the
card is connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit
and the card.

Step 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
inbuilt power supply, then +5V and GND are internally connected and one just need to
switch on the power and Press Reset.

Step 3: Select the SW2 switch in OFF position and enter the program given below
using EXMEM command.

Step 4: Execute the program using <GO> command. The program stops after first I/O
instruction. Observe the LED status as explained in the program below.

Step 5: Press the single I/O instruction switch SW1 lever and observe the results on
LED’s till you reach the last instruction. You would have by now seen the programming.
Now switch the SW2 to ON position. The program is now running in the full speed
mode.

Step 7: Now short the IR0 pin on the board to +5V Pin. You will see that the message
SUPERB starts flashing on the kit.

Code:

ADDRESS OP-CODE Label MNEMONICS

1000:100 B8 0F 11 START: MOV AX, 110F

103 89 C4 MOV SP, AX

105 0E PUSH CS

106 58 POP AX

107 89 C1 MOV CX, AX

109 BE 55 01 MOV SI, 0155

10C B0 91 MOV AL, 91

20
10E CD BE INT BE

110 BA 80 00 MOV DX, 80

113 B0 19 MOV AL, 19

115 EE OUT DX, AL

116 B0 90 MOV AL, 90

118 BA 82 00 MOV DX, 82

11B EE OUT DX, AL

11C B0 01 MOV AL, 01

11E EE OUT DX, AL

11F B0 FD MOV AL, FD

121 EE OUT DX, AL

122 FB STI

123 EB FE JMP 123

Now enter the following program at the address 1000:0155

ADDRESS OP-CODE Label MNEMONICS

1000:0155 CD AC SER ROUTINE: INT AC

157 BA 41 00 AG86: MOV DX, 41

15A B4 02 MOV AH, 02

15C CD A2 INT A2

15E CD AB INT AB

160 EB F5 JMP 0157

21
OUTPUT:

Fig 5.1 Interfacing ET-8259 study card with ET-8086


microprocessor hardware kit output

22

You might also like