El 9lc: 7-Segnut

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

N.

Sniaivot Pala
192/sd

3-digt, 7-Segnut diploy wih fogt uting 8sTPT


We Ommom Ahode
Com howe 2ty py
Common Cafho da

2 Sgored diplay

fI
el 9lc
d
we tal Common rode

(+rv) gr =1
Tnterfadng

A UA

P
EAC
N. Sninivat Kahu
192/s0

popodt A i conrceteed fo Onl 7 Jegmet displog


Connmedeel h na7 Segment oisplasy
povt B i
Connectd k 3d
is
povt C
hw o wree
A
flIb

Six Seren
ive flal fl_)b
b
9
e_la
o
d
Povt B is connsted b 9-Seganl reaystur
No
P Pa PA PA
Ph3 PA PA 4
PA
0 0 0
CoHE0

FAHCE
D 0 0 O
AE
0 0
Bou E 3
0

6 0

FRH
0 0 O
N.SMnivo Lahuy
924SO

Port-B addred 72H

Addry rgnaumine to display


t e valu
COH

B0H
99 5o 000H.
l t oddru
MoV , S0000H
&OH
Mov DSy
MOV

Covd wod fr port-A


10 00 0000 0H.

OUT PPM,
Mov M1, 6D
MoV , 00

MOV SI, Ax.

OUT

0UT 12M, M)9jive tr af onpud

ned tn hrst7-Scaent-oli'sp loy


Sut we

TNC

0 UT 1 2H, ) Now tis disploued


n por B,
NSrinivo ahus
19uso

Now, teta w tale addres ok pot B r6 M.

Tn the S om
m annr bu we neel 2 outpul
MOV AH, 60
MOV , 00

MoV SI, HX.


a onkput
/T Jn, (z
(MOV CX, ojH
TN 1
TNC
DEC CX

valae -
2)
(we gt
ayyOH
Sivrilod lg pal-C toku oddrd
OUT 9vH, U

MUY CX of
l0oP CX-O
Loop ndy
pet C
(a iord)
gUT 72H, M
Aiplayd)
Now we
home displayed
37Segmmd
1,23 by ing
disploy rsfer
N Snnavel Ralhs

1921S0

s) 8 25 PPT
Moce-1

I h prt fr h ( ) B
Fort c wed ot hande hale
Cotrol werd

0 1
D D mode 1
Py) fta Cipat) -I
-) ) Pont Ca -X
-) Da PiDP x

/D1lxx XX -) BXH

By this we Com mate we ot pet A a Input pot


c fr handshoke sigrly.
port

You might also like