松翰SONIX单片机品牌系列反汇编例程说明:
1. 100%成功,编译后和原来的完全一样;
2. 程序和数据完全分开,所有的程序完全反成汇编,不会当做数据来处理;
3. 子程序之前用分段行分开;
4. 带寄存器名称,方便程序阅读;
5. 带PC地址和机器码,方便修改程序;
6. 中断和程序入口注释。
松翰SONIX单片机品牌系列反汇编例程信息:
;=====================================================================
JMP L0009
;=====================================================================
L0001: DB 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
L0005: DB 0x00,0x00,0x00,0x00,0x00,0x00
;=====================================================================
JMP L0009
;=====================================================================
L0009: MOV A,#07FH
B0MOV STKP,A
MOV A,#00H
B0MOV OSCM,A
CLR Y
B0MOV Z,#03FH
L000F: CLR @YZ
DECMS Z
JMP L000F
;=====================================================================
CLR @YZ
NOP
MOV A,#05AH
B0MOV WDTR,A
MOV A,#0E7H
MOV 0BH,A
MOV A,#0FH
MOV 0CH,A
MOV A,#0E6H
MOV 06H,A
MOV A,#0FH
MOV 07H,A
MOV A,#06H
MOV 04H,A
MOV A,#0AH
MOV 05H,A
MOV A,#00H
MOV 0DH,A
MOV A,#0CH
MOV 0EH,A
MOV A,#07H
MOV 0FH,A
MOV A,#0FH
MOV 10H,A
MOV A,#00H
MOV 11H,A
MOV A,#03H
MOV 12H,A
MOV A,#0A0H
MOV 0AH,A
MOV A,#0DCH
MOV 09H,A
MOV A,#0CDH
MOV 2BH,A
MOV A,#0D7H
MOV 2CH,A
MOV A,#0E1H
MOV 2DH,A
MOV A,#036H
MOV 35H,A
MOV A,#0FH
MOV 36H,A
MOV A,#032H
MOV 37H,A
MOV A,#0FH
MOV 38H,A
MOV A,#064H
MOV 34H,A
MOV A,#01H
MOV 19H,A
MOV 24H,A
MOV 26H,A
MOV 22H,A
MOV 28H,A
MOV 29H,A
MOV A,#0AH
MOV 1AH,A
MOV A,#064H
MOV 1BH,A
MOV A,#01H
MOV 1CH,A
MOV A,#02H
MOV 1EH,A
MOV 20H,A
MOV 21H,A
MOV A,#0EH
B0MOV P0M,A
MOV A,#0FH
MOV P0UR,A
MOV A,#0FH
B0MOV P0,A
MOV A,#014H
MOV P4M,A
MOV A,#014H
MOV P4UR,A
MOV A,#010H
MOV P4,A
MOV A,#018H
B0MOV P5M,A
MOV A,#018H
MOV P5UR,A
MOV A,#08H
MOV P5,A
CALL L0267
CALL L021B
MOV A,#0B4H
CMPRS A,15H
B0BTS0 PFLAG.2
JMP L0077
;=====================================================================
MOV A,#0E6H
CMPRS A,15H
B0BTS1 PFLAG.2
JMP L007A
;=====================================================================
MOV A,15H
SUB A,#0B4H
MOV 39H,A
RLCM 39H
B0BCLR 39H.0
B0BTS0 PFLAG.2
B0BSET 39H.0
JMP L007C
;=====================================================================
L0077: MOV A,#00H
MOV 39H,A
JMP L007C
;=====================================================================
L007A: MOV A,#064H
MOV 39H,A
L007C: CALL L02AF
MOV A,#064H
SUB A,39H
MOV 3AH,A
L0080: BTS0 P0.4
JMP L0149
;=====================================================================
L0082: CALL L012E
BCLR P4.2
MOV A,#00H
B0MOV P4CON,A
BSET P4M.1
BCLR TC0M.0
BCLR P5.4
BCLR TC0M.7
CALL L0259
BTS0 P0.4
JMP L0149
;=====================================================================
文章标签:
松翰单片机系列反汇编
本文链接地址: 松翰科技,SONIX单片机品牌系列反汇编例程:
http://www.mcucd.com/dfb/101.html
联系信息:单片机疑难问题咨询:方先生 手机:15328075932 QQ:67828115
版权声明
本文部分文字和图片来源于互联网,如有侵犯您的权利请发送内容至:173323810@qq.com,我们将立即删除!