Вы находитесь на странице: 1из 13

1 8-

1.1 51
1.2 51
1.3 KP18I6BE51
1.4 -51
2 - -51
2.1 K18I6BE51

6.050702.4361.11.

14

1 8-
8- () 1816. 1830
,
( , ).
(-10 - +70
) , Intel, Siemens ,
: 0 - +70 , -40 - +85 , - 40 - +110
-40 - +125 [5].
51 6
1816, KP1830, K1835,
. 1
.
1 - 51

,
,

,
,

KP181631
8031
128
12
150
KP18I6B51
8051
4
128
12
150
K1816751 875IAH
4
128
12
220
K183031
80C3IBH
128
12
18
KP1830BE51
8051
4
128
12
18
K1835BE51
8051BU
4
128
12
18
1 ,
() 1830
.
1816751, KP1816B51, 4
.
, MK-51 ,
64 .
KM1830751 1830753 (
8753 AMD).
() 8 .
:
- ;
- ,
;
- .

1.1
51

51 n- ( 1816)
( 1830).
51 48
. -

.
.

6.050702.4361.11.

14

1816751 4096
,
,
.
64 .
181631 183031 ,
64
, (
4 ) .

128
64 .
51 128 : 64
64 .

, , 580.
, :
- ;
- 4 ( 1816751, 181651
183051);
- 128 ;
- - ( P0, P1, P2,
P3);
- 16- /;
- ;
- ;
- .
,
.

64 , 181651,
1816751 183051 0000 -0FFFH
. , ,
12- 4*8 181651,
183051 4*8
1816751. .
EA/NPP Vcc
,
0FFFH. 0000 - 0FFFH,
, (
).
EA/NPP 0, ,
0000, .
, EA/NPP
.
PSEN.
PSEN .
.
16- ,
0, - 2.
, 0,
ALE, . . 0 ,

6.050702.4361.11.

14

1.2 51

0 /:
,
. 0,
ALE RG.
2 .
, 0 51
.
, ,
. ,
, , , .

, ,
.
128 ,
, .
,
, .
LCALL, ACALL 2.
RET, RETI 2.
PUSH direct 1.
POP direct 1.
07,
08.

64 .
MOVX.
MOVX Ri,A MOVX A,@Ri ,
0. MOVX @DPTR,A MOVX @A,DPTR 16 , 0, 2.
, 0,
ALE, . . 0
,
. RD,
WR. RD WR .
P0, P1, P2, P3 -
,
32 -. -,
,
() .
P0, P1, P2, P3 :
P0 80, 80 -87;
P1 90, 90 -97;
P2 0, 0 7;
P3 0, 0 7.
/ 0
, .

6.050702.4361.11.

14

1.3 KP181651 (-51)


-51 1.
:
Uss - ("");
Ucc - +5 ;
X1,X2 - ;

1 -51
RST/VPD - / ;
PSEN - ;
;
ALE - ;
- ; 0
; (
);
P1 - /:
, ,
;
P2 - , 1; ,
( )
( 16-
).


(58043);
- , . 1; ,
,
, -, ,
;

6.050702.4361.11.

14

3:
RxD . /
;
TxD .
;
INT0 (), INT1 () (
);
TO, T1 - -;
RD (), WR () (
);
P0 - - :

, .
- 51 [1],
2. ,
:
- - ();
- ;
- ;
- ( );
- 8 - - ;
- 16 - - ;
- - ;
- ;
- ;
- ;
- - .
- 51 ,
.
(0,1,2,3) - 51 - . ,
0 2 . 3
. 0 , 1, 2, 3 :
. 1, 2, 3 - - , 0 -
. PC - 16- .
() , .
-51 .
- ,
(PSW).
- (8-)
, , ; , ,
, , , ..
T1 T2,
, .
(SP)
. PUSH CALL
RET. SP
07 .
16- - (DPTR)
. 8-
DPH DPL.
-51 16- /,

6.050702.4361.11.

14

: TH0, TL0 TH1, TL1,


SBUF - 8 - :
, IP, IE, TMOD,
TCON, SCON, PCON, ,
- .
, 51,
, ,
.
( ) 4
, , ,
.. 16- ,
- .

, .
()
, 128 . ,
(),
2.
2 -

* ACC

0E0H
*B
-
0F0H
* PSW

0D0H
SP
-
81H
DPTR
- (DPH)
83H
(DPL)
82H
* P0
0
80H
* P1
1
90H
* P2
2
0A0H
* P3
3
0B0H
* IP

0B8H
* IE

0A8H
TMOD
/
89H
* TCON
/
88H
TH0
0 ( )
8CH
TL0
0 ( )
8AH
TH1
1 ( )
8DH
TL1
1 ( )
8BH
* SCON

98H
SBUF

99H
PCON

87H
. , (*),
.
3 ,
.
3 - ()


C
PSW.7
.

AC
PSW.6
.

6.050702.4361.11.

14

F0

PSW.5

RS1
RS0
OV

PSW.4
PSW.3
PSW.2

PSW.1
PSW.0


3
0. ,
,
.

.


.
/

RS1
RS0

0
0
0
00H-07H
0
1
1
08H-0FH
1
0
2
10H-17H
1
1
3
18H-1FH


[1,3].

1.4 MK-51
111 ,
, .
1 2 f=12M
1 . (), , .

6.050702.4361.11.

14

2 KP181651 (-51)

-51 4.
4 -

ACALL 0
ACALL 1xxH
ACALL 2xxH
ACALL 3 .
.
ACALL 4xxH
ACALL 5xxH
ACAlL 6xxH
ACALL 7xxH
ADD A, ad
ADD A, R0
ADD A , R1
ADD A, R2
ADD A, R3
ADD A, R4
ADD A, R5
ADD A, R6
ADDA, R7
ADD A, @R0
ADD A, @R1
ADD A, #d
ADDC A, ad
ADDC A, R0
ADDC A, R0
ADDC A, RO
ADDC A , R0
ADDC A, R0
ADDC A, R0
ADDC A, R0
ADDC A , R0
ADDC A, @R0
ADDC A, @R1
ADDC A, #d
AJMP 0XXH
AJMP 1XXH
AJMP 2XXH
AJMP 3XXH
AJMP 4XXH

11
31
51
71

91
B1
D1
FI
25
28
29
2A
2B
2C
2D
2E
2F
26
27
34
35
38
39

3B

3D
3E
3F
36
37
24
01
21
41
61
81

AJMP 5XXH
A1
DA A
AJMP 6XXH
C1
DEC A
AJMP 7XXH
El
DEC ad
6.050702.4361.11.
ANL
A , ad
55
DEC R0

ANL A, R0
58
DEC R1
ANL A, R1
59
DEC R2
ANL A, R2
5A
DEC R3
ANL A, R3
SB
DEC R4
ANL A, R4
5C
DEC R5
ANL A, R5
5D
DEC R6
ANL A, R6
5E
DEC R7
ANL A, R7
5F
DEC @R0
ANL A, @R0
56
DEC @R1
ANL A, @R1
57
DIV A
ANL A, #d
54
DJNZ ad, rel
ANL ad, A
52
DJNZ R0, rel
ANL ad, #d
S3
DJNZ R1, rel
ANL C, bit
82
DJNZ R2, rel
ANL C, /bit
BO
DJNZ R3, rel
CJNE A, ad, rel
B5
DJNZ R4, rel
CJNE A, #d, rel
B4
DJNZ R5, rel
CJNE R0, #d, rel
B8
DJNZ R6, rel
CJNE R1, #d, rel
B9
DJNZ R7, rel
CJNE R2, #d, rel
BA
INC a
CJNE R3, #d, rel
BB
INC ad
CJNE R4, #d, rel

INC DPTR
CJNE R5, #d, rel
BD
INC R0
CJNE R6, #d , rel
BE
INC R1
CJNE R7 , #d, ret
BF
INC R2
CJNE @R0, #d, rel
B6
INC R3
CJNE @R1, #d, rel
B7
INCR4
CLR A
E4
INC R5
CLR bit
C2
INC R6
CLR C
C3
INC R7
CPL A
F4
INC @R0
CPL bit
B2
INC @R1
CPL
B3
JB bit, rel
JBC bit, rel

6.050702.4361.11.

D4
14
15
18
19
1A
1B
1
1D
1E
1F
16
17
84
D5
D8
D9
DA
DB
DC
DD
DE
DF
04
05
A3
08
09
OA
OB
0
0D
0E
OF
06
07
20
10

14

14


JC rel
JMP@A+DPTR
JNB bit , rel
JNC rel
JNZrel
JZ rel
LCALL ad16
LJMP ad 16
MOV A , ad
MOV A , RO
MOV A, R1
MOV A , R2
MOV A , R3
MOV A , R4
MOV A , R5
MOV A , R6
MOV A , R7
MOV A , @R0
MOV A, @R1
MOV a , #d
MOV ad , A
MOV ad , R0
MOV ad , R1
MOV ad , R2
MOV ad, R3
MOV ad , R4
MOV ad , R5
MOV ad , R6
MOV ad , R7
ORL A, #d
ORL ad , A
ORL ad , #d
ORL , bit
ORL , /bit
POP ad
PUSH ad
RET
RETI
RL A
RLC A
RR A
XCH A, R7
XCH A, @R0
XCH A, @Rl
XCHD A, @R0
XCHD A, @R1
XRL A, ad
XRL A, R0

40
73
30
50
70
60
12
02
E5
E8
E9
EA
EB
EC
ED

EF
6
E7
74
F5
88
89
8A
8B
8C
8D
8E
8F
44
42
43
72

DO
CO
22
32
23
33
03
CF
06
C7
D6
D7
65
68

MOV ad , @R0
MOV ad, @R1
MOV ad, #d
MOV ad, ads
MOV bit, C
MOV C, bit
MOV DPTR, #dl6
MOV R0, A
V R0, ad
MOV R0, #d
MOV R1 , A
MOV R1 , ad
MOV Rl , #d
MOV R2, A
MOV R2, ad
MOV R2, #d
MOV R3 , A
MOV R3 , ad
MOV R3 , #d
MOV R4, A
MOV R4 , ad
MOV R4, #d
MOV R5, A
MOV R5 , ad
MOV R5 , #d
MOV R6 , A
MOV R6, ad
MOV R6, #d
MOV R7 , A
RRC A
SETB bit
setb c
SJMP rel
SUBB A, ad
SUBB A, R0
SUBB A, R1
SUBB A , R2
SUBB A , R3
SUBB A, R4
SUliB A , R5
SUBB A, R6
XRL A, R1
XRL A,
XRL A, R3
XRL A, R4
XRL A, R5
XRL A , R6

86
87
75
85
92
A2
90
F8
A8
78
F9
A9
79
FA
AA
7A
FB
AB
7B
FC
AC
7C
FD
AD
7D
FE
AE
7E
FF
13
D2
D3
80
95
98
99
9A
9B
9C
9D
9E
69
6A
6B
6C
6D
6E

MOV R7 , ad
AF
MOV R7, #d
7F
MOV @R0 , A
F6
MOV@R0, ad
A6
MOV@R0, #d
76
MOV @R1 , A
F7
MOV@R1, ad
A7
MOV @R1, #d
77
MOVC A, @+DPTR 93
MOVC A , @+PC
83
MOVX A , @DPTR EO
MOVX A, @R0
E2
MOVX A, @R1
E3
MOVX @DPTR, A F0
MOVX @R0 , A
F2
MOVX @R1, A
F3
MUL AB
A4
NOP
00
ORL A , ad
45
ORL A , R0
48
ORL A, R1
49
ORL A, R2
4A
ORL A , R3
4B
ORL A, R4
4C
ORL A, R5
4D
ORL A, R6
4E
ORL A, R7
4F
ORL A, @R0
46
ORL A , @R0
47
SUBB A , R7
9F
SUBB A , @R0
96
SUBB A, @R1
97
SWAP A
C4
XCH A , ad
C5
XCH A, R0
C8
XCH A, R1
C9
XCH A , R2
CA
XCH A , R3
CB
XCH A , R4
CC
XCH A , R5
CD
XCH A , R6
CE
XRL A , R7
6F
XRL A , @)R0
66
XRL A, @R1
67
XRL A, #d
64
XRL ad , A
62
XRL ad, #d
63

6.050702.4361.11.

14

2 - -51
- K18I6BE51
PC. SCM (Single-Chip Machine)
.
Single-Chip Machine 1.22
.
SCM (Single-Chip Machine)
, MS Window NT/XP.
SCM .

. ,
, ,
,
.
,
.
( ) .MPM. .MPM,
Microcontroller Program Memory,
- HEX.
:
, ;
, .

2.1 K18I6BE51
64.
256 .

6.050702.4361.11.

14

:
1
2
3
4
5

. .
. - .: , 1990. - 224 .
. . :
. - .: ., 1990. - 207 .: .
. ., . ., . .. . , .
: . - .: , 1994. - 400 .: .
. . . . . . - .:
. 1989.
. ., . ., . .
// . 10, 1993.C.31-37.

6.050702.4361.11.

14

Оценить