Basics 8051 Microcontroller PIC Microcontroller Peripheral Interfacing Exit
_ x
071 |
CLR SEC F | |
072 |
CLR SEC C | |
073 |
ACALL DELAY | |
074 | ||
075 |
CLR SEC A |
// for display |
076 |
CLR SEC B | |
077 |
CLR SEC C | |
078 |
SETB SEG D | |
079 |
SETB SEG E | |
080 |
SETB SEG F | |
081 |
SETB SEG C | |
082 |
ACALL DELAY | |
083 | ||
084 |
CLR SEC A |
// for display |
085 |
CLR SEC B | |
086 |
CLR SEG C | |
087 |
CLR SEG D | |
088 |
CLR SEG E | |
089 |
CLR SEG F | |
090 |
CLR SEG G | |
091 |
ACALL DELAY | |
092 | ||
093 |
CLR SEC A |
// for display |
094 |
CLR SEC B | |
095 |
CLR SEG C | |
096 |
CLR SEG D | |
097 ago |
SETB SEG_E | |
U70 |
CLR SEsj F | |
099 |
CLR SEG G |
R1 = 123 |
100 |
ACALL DELAY | |
101 | ||
102 103 |
JMP START | |
104 I |
DELAY:M0V Rl,*250 |
// Dolay Routino |
105-^ |
KERK: 3JIIZ Rl, HERE | |
106 |
RET | |
107 | ||
108 |
EKD |
d|c |+ |b |a
n
u
e|f 1+ Ig |.
*
V
P0.1(AD1)"
P0.4<A[>4) “■ • * ' '
“• M J •
PO64AD6) ““ * '