AT89C4051
;标号==============指令================================地址===机器码=======
;==========================================================================
Q0000: AJMP Q0030 ;0000 01 30
MOV R7,A ;0002 FF
MOV R7,A ;0003 FF
MOV R7,A ;0004 FF
MOV R7,A ;0005 FF
MOV R7,A ;0006 FF
MOV R7,A ;0007 FF
MOV R7,A ;0008 FF
MOV R7,A ;0009 FF
MOV R7,A ;000A FF
MOV R7,A ;000B FF
MOV R7,A ;000C FF
MOV R7,A ;000D FF
MOV R7,A ;000E FF
MOV R7,A ;000F FF
MOV R7,A ;0010 FF
MOV R7,A ;0011 FF
MOV R7,A ;0012 FF
MOV R7,A ;0013 FF
MOV R7,A ;0014 FF
MOV R7,A ;0015 FF
MOV R7,A ;0016 FF
MOV R7,A ;0017 FF
MOV R7,A ;0018 FF
MOV R7,A ;0019 FF
MOV R7,A ;001A FF
MOV R7,A ;001B FF
MOV R7,A ;001C FF
MOV R7,A ;001D FF
MOV R7,A ;001E FF
MOV R7,A ;001F FF
MOV R7,A ;0020 FF
MOV R7,A ;0021 FF
MOV R7,A ;0022 FF
MOV R7,A ;0023 FF
MOV R7,A ;0024 FF
MOV R7,A ;0025 FF
MOV R7,A ;0026 FF
MOV R7,A ;0027 FF
MOV R7,A ;0028 FF
MOV R7,A ;0029 FF
MOV R7,A ;002A FF
MOV R7,A ;002B FF
MOV R7,A ;002C FF
MOV R7,A ;002D FF
MOV R7,A ;002E FF
MOV R7,A ;002F FF
Q0030: CLR P1.5 ;0030 C2 95
MOV SP,#68H ;0032 75 81 68
MOV SCON,#50H ;0035 75 98 50
MOV TMOD,#21H ;0038 75 89 21
MOV TCON,#40H ;003B 75 88 40
MOV PCON,#80H ;003E 75 87 80
MOV TH1,#0FDH ;0041 75 8D FD
MOV TL1,#0FDH ;0044 75 8B FD
CLR
ti ;0047 C2 99
CLR RI ;0049 C2 98
MOV IE,#00H ;004B 75 A8 00
MOV IP,#00H ;004E 75 B8 00
MOV TMOD,#25H ;0051 75 89 25
MOV TCON,#50H ;0054 75 88 50
LCALL Q0CC9 ;0057 12 0C C9
LCALL Q0755 ;005A 12 07 55
LCALL Q0782 ;005D 12 07 82
Q0060: MOV R1,#00H ;0060 79 00
MOV R2,#20H ;0062 7A 20
LCALL Q0C16 ;0064 12 0C 16
CJNE A,#00H,Q0079 ;0067 B4 00 0F
MOV R1,#00H ;006A 79 00
MOV R2,#21H ;006C 7A 21
LCALL Q0C16 ;006E 12 0C 16
CJNE A,#00H,Q008B ;0071 B4 00 17
LCALL Q0CC9 ;0074 12 0C C9
AJMP Q008E ;0077 01 8E
Q0079: CJNE A,#0FFH,Q008B ;0079 B4 FF 0F
MOV R1,#00H ;007C 79 00
MOV R2,#21H ;007E 7A 21
LCALL Q0C16 ;0080 12 0C 16
CJNE A,#0FFH,Q008B ;0083 B4 FF 05
LCALL Q0CC9 ;0086 12 0C C9
AJMP Q008E ;0089 01 8E
Q008B: LCALL Q0CB7 ;008B 12 0C B7
Q008E: LCALL Q089A ;008E 12 08 9A
JNB 20H.0,Q0060 ;0091 30 00 CC
LCALL Q0794 ;0094 12 07 94
LCALL Q089A ;0097 12 08 9A
JNB 20H.0,Q0060 ;009A 30 00 C3
MOV A,31H ;009D E5 31
XRL A,#91H ;009F 64 91
MOV 40H,A ;00A1 F5 40
MOV A,32H ;00A3 E5 32
XRL A,#36H ;00A5 64 36
MOV 41H,A ;00A7 F5 41
MOV A,33H ;00A9 E5 33
XRL A,#43H ;00AB 64 43
MOV 42H,A ;00AD F5 42
MOV A,34H ;00AF E5 34
XRL A,#69H ;00B1 64 69
MOV 43H,A ;00B3 F5 43
MOV 44H,#33H ;00B5 75 44 33
MOV 45H,#90H ;00B8 75 45 90
MOV 4AH,31H ;00BB 85 31 4A
MOV 4BH,32H ;00BE 85 32 4B
MOV 4CH,33H ;00C1 85 33 4C
MOV 4DH,34H ;00C4 85 34 4D
LCALL Q09F1 ;00C7 12 09 F1
JNB 20H.0,Q0060 ;00CA 30 00 93
MOV A,30H ;00CD E5 30
XRL A,31H ;00CF 65 31
XRL A,32H ;00D1 65 32
XRL A,33H ;00D3 65 33
XRL A,34H ;00D5 65 34
XRL A,35H ;00D7 65 35
CJNE A,36H,Q00F6 ;00D9 B5 36 1A
MOV A,30H ;00DC E5 30
CJNE A,#01H,Q00E4 ;00DE B4 01 03
LJMP Q0105 ;00E1 02 01 05
;==========================================================================
Q00E4: CJNE A,#02H,Q00EA ;00E4 B4 02 03
LJMP Q038E ;00E7 02 03 8E
;==========================================================================
Q00EA: CJNE A,#03H,Q00F0 ;00EA B4 03 03
LJMP Q0521 ;00ED 02 05 21
;==========================================================================
Q00F0: CJNE A,#04H,Q00F6 ;00F0 B4 04 03
LJMP Q063E ;00F3 02 06 3E
;==========================================================================
Q00F6: LCALL Q0C81 ;00F6 12 0C 81
Q00F9: LCALL Q0775 ;00F9 12 07 75
LCALL Q089A ;00FC 12 08 9A
JB 20H.0,Q00F9 ;00FF 20 00 F7
LJMP Q0060 ;0102 02 00 60
;==========================================================================
Q0105: MOV R1,#00H ;0105 79 00
MOV R2,#20H ;0107 7A 20
LCALL Q0C16 ;0109 12 0C 16
CJNE A,31H,Q011C ;010C B5 31 0D
MOV R1,#00H ;010F 79 00
MOV R2,#21H ;0111 7A 21
LCALL Q0C16 ;0113 12 0C 16
CJNE A,32H,Q011C ;0116 B5 32 03
LJMP Q013A ;0119 02 01 3A
;==========================================================================
Q011C: LCALL Q0C93 ;011C 12 0C 93
Q011F: LCALL Q0775 ;011F 12 07 75
LCALL Q089A ;0122 12 08 9A
JB 20H.0,Q011F ;0125 20 00 F7
LJMP Q0060 ;0128 02 00 60
;==========================================================================
Q012B: LCALL Q0CDB ;012B 12 0C DB
Q012E: LCALL Q0775 ;012E 12 07 75
LCALL Q089A ;0131 12 08 9A
JB 20H.0,Q012E ;0134 20 00 F7
LJMP Q0060 ;0137 02 00 60
;==========================================================================
Q013A: MOV 2AH,33H ;013A 85 33 2A
MOV 2BH,34H ;013D 85 34 2B
MOV 2CH,35H ;0140 85 35 2C
MOV R1,#00H ;0143 79 00
MOV R2,#22H ;0145 7A 22
LCALL Q0C16 ;0147 12 0C 16
MOV 4EH,A ;014A F5 4E
MOV R1,#00H ;014C 79 00
MOV R2,#42H ;014E 7A 42
LCALL Q0C16 ;0150 12 0C 16
CJNE A,4EH,Q012B ;0153 B5 4E D5
CJNE A,#0FFH,Q015C ;0156 B4 FF 03
LJMP Q012B ;0159 02 01 2B
;==========================================================================
Q015C: CJNE A,#00H,Q0162 ;015C B4 00 03
LJMP Q012B ;015F 02 01 2B
;==========================================================================
Q0162: MOV A,2AH ;0162 E5 2A
CJNE A,#00H,Q01A1 ;0164 B4 00 3A
MOV A,2BH ;0167 E5 2B
CJNE A,#00H,Q01A1 ;0169 B4 00 35
MOV A,2CH ;016C E5 2C
CJNE A,#00H,Q018C ;016E B4 00 1B
MOV 21H,2AH ;0171 85 2A 21
MOV 22H,2BH ;0174 85 2B 22
MOV 23H,2CH ;0177 85 2C 23
MOV 29H,#04H ;017A 75 29 04
LCALL Q0D47 ;017D 12 0D 47
Q0180: LCALL Q0775 ;0180 12 07 75
LCALL Q089A ;0183 12 08 9A
JB 20H.0,Q0180 ;0186 20 00 F7
LJMP Q0060 ;0189 02 00 60
;==========================================================================
Q018C: MOV A,2CH ;018C E5 2C
CJNE A,4EH,Q0191 ;018E B5 4E 00
Q0191: JNC Q01A1 ;0191 50 0E
MOV 4EH,2CH ;0193 85 2C 4E
MOV 53H,#00H ;0196 75 53 00
MOV 54H,#00H ;0199 75 54 00
MOV 55H,#00H ;019C 75 55 00
AJMP Q01B4 ;019F 21 B4
Q01A1: CLR C ;01A1 C3
MOV A,2CH ;01A2 E5 2C
SUBB A,4EH ;01A4 95 4E
MOV 55H,A ;01A6 F5 55
MOV A,2BH ;01A8 E5 2B
SUBB A,#00H ;01AA 94 00
MOV 54H,A ;01AC F5 54
MOV A,2AH ;01AE E5 2A
SUBB A,#00H ;01B0 94 00
MOV 53H,A ;01B2 F5 53
Q01B4: MOV 50H,#01H ;01B4 75 50 01
MOV R1,#00H ;01B7 79 00
MOV R2,#20H ;01B9 7A 20
LCALL Q0C16 ;01BB 12 0C 16
MOV 51H,A ;01BE F5 51
MOV R1,#00H ;01C0 79 00
MOV R2,#21H ;01C2 7A 21
LCALL Q0C16 ;01C4 12 0C 16
MOV 52H,A ;01C7 F5 52
MOV A,50H ;01C9 E5 50
XRL A,51H ;01CB 65 51
XRL A,52H ;01CD 65 52
XRL A,53H ;01CF 65 53
XRL A,54H ;01D1 65 54
XRL A,55H ;01D3 65 55
MOV 56H,A ;01D5 F5 56
MOV 57H,#0F1H ;01D7 75 57 F1
MOV 58H,#0FFH ;01DA 75 58 FF
MOV 59H,#0FFH ;01DD 75 59 FF
MOV 5AH,#0FFH ;01E0 75 5A FF
MOV 5BH,#0FFH ;01E3 75 5B FF
MOV 5CH,#0FFH ;01E6 75 5C FF
MOV 5DH,#0FFH ;01E9 75 5D FF
MOV 5EH,#0FFH ;01EC 75 5E FF
MOV 5FH,#0FFH ;01EF 75 5F FF
LCALL Q089A ;01F2 12 08 9A
JB 20H.0,Q01FB ;01F5 20 00 03
LJMP Q0060 ;01F8 02 00 60
;==========================================================================
Q01FB: LCALL Q07A9 ;01FB 12 07 A9
MOV 21H,2AH ;01FE 85 2A 21
MOV 22H,2BH ;0201 85 2B 22
MOV 23H,2CH ;0204 85 2C 23
MOV 29H,#04H ;0207 75 29 04
LCALL Q0D47 ;020A 12 0D 47
JB 20H.0,Q0219 ;020D 20 00 09
Q0210: LCALL Q089A ;0210 12 08 9A
JB 20H.0,Q0210 ;0213 20 00 FA
LJMP Q0060 ;0216 02 00 60
;==========================================================================
Q0219: SETB P1.5 ;0219 D2 95
LCALL Q0775 ;021B 12 07 75
CLR P1.5 ;021E C2 95
MOV A,48H ;0220 E5 48
CJNE A,#20H,Q0225 ;0222 B4 20 00
Q0225: JC Q022A ;0225 40 03
LJMP Q0060 ;0227 02 00 60
;==========================================================================
Q022A: LCALL Q089A ;022A 12 08 9A
JB 20H.0,Q022A ;022D 20 00 FA
LCALL Q0758 ;0230 12 07 58
LCALL Q0775 ;0233 12 07 75
MOV 21H,2AH ;0236 85 2A 21
MOV 22H,2BH ;0239 85 2B 22
MOV 23H,2CH ;023C 85 2C 23
MOV 29H,#04H ;023F 75 29 04
LCALL Q0D47 ;0242 12 0D 47
Q0245: CLR C ;0245 C3
MOV A,2CH ;0246 E5 2C
SUBB A,#01H ;0248 94 01
MOV 2CH,A ;024A F5 2C
MOV A,2BH ;024C E5 2B
SUBB A,#00H ;024E 94 00
MOV 2BH,A ;0250 F5 2B
MOV A,2AH ;0252 E5 2A
SUBB A,#00H ;0254 94 00
MOV 2AH,A ;0256 F5 2A
MOV 21H,2AH ;0258 85 2A 21
MOV 22H,2BH ;025B 85 2B 22
MOV 23H,2CH ;025E 85 2C 23
MOV 29H,#04H ;0261 75 29 04
LCALL Q0D47 ;0264 12 0D 47
MOV R1,#00H ;0267 79 00
MOV R2,#24H ;0269 7A 24
LCALL Q0C16 ;026B 12 0C 16
MOV 2DH,A ;026E F5 2D
MOV R1,#00H ;0270 79 00
MOV R2,#25H ;0272 7A 25
LCALL Q0C16 ;0274 12 0C 16
MOV 2EH,A ;0277 F5 2E
MOV R1,#00H ;0279 79 00
MOV R2,#26H ;027B 7A 26
LCALL Q0C16 ;027D 12 0C 16
MOV 2FH,A ;0280 F5 2F
ADD A,#01H ;0282 24 01
MOV 2FH,A ;0284 F5 2F
MOV A,2EH ;0286 E5 2E
ADDC A,#00H ;0288 34 00
MOV 2EH,A ;028A F5 2E
MOV A,2DH ;028C E5 2D
ADDC A,#00H ;028E &n
一周热门 更多>