看看我的反汇编以上那一段hex
;********************************************************
org 0000h
ljmp X0104 ;3
;********************************************************
X0003:
mov a,r7 ;1
dec r7 ;1
mov r2,06h ;2
jnz X000a ;2
dec r6 ;1
X000a:
orl a,r2 ;1
jz X0020 ;2
clr a ;1
mov r4,a ;1
mov r5,a ;1
X0010:
clr c ;1
mov a,r5 ;1
subb a,#78h ;2
mov a,r4 ;1
subb a,#00h ;2
jnc X0003 ;2
inc r5 ;1
cjne r5,#00h,X001e ;3
inc r4 ;1
X001e:
sjmp X0010 ;2
X0020:
ret ;1
nop ;1
nop ;1
ljmp X0190 ;3
setb p1.4 ;2
clr p1.3 ;2
nop ;1
nop ;1
setb p1.3 ;2
nop ;1
clr p1.3 ;2
mov tmod,#20h ;3
mov th1,#0fdh ;3
mov tl1,#0fdh ;3
clr a ;1
mov pcon,a ;2
setb tr1 ;2
mov scon,#0f0h ;3
setb es ;2
setb ea ;2
X0046:
mov dptr,#2000h ;3
movx a,@dptr ;1
cpl a ;1
jz X005f ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#07h ;2
mov 10h,#80h ;3
clr p1.0 ;2
setb p1.1 ;2
setb p1.2 ;2
sjmp X00da ;2
X005f:
mov dptr,#4000h ;3
movx a,@dptr ;1
cpl a ;1
jz X0078 ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#08h ;2
mov 10h,#80h ;3
setb p1.0 ;2
clr p1.1 ;2
setb p1.2 ;2
sjmp X00da ;2
X0078:
mov dptr,#6000h ;3
movx a,@dptr ;1
cpl a ;1
jz X0091 ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#09h ;2
mov 10h,#80h ;3
clr p1.0 ;2
clr p1.1 ;2
setb p1.2 ;2
sjmp X00da ;2
X0091:
mov dptr,#8000h ;3
movx a,@dptr ;1
cpl a ;1
jz X00aa ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#0ah ;2
mov 10h,#80h ;3
setb p1.0 ;2
setb p1.1 ;2
clr p1.2 ;2
sjmp X00da ;2
X00aa:
mov dptr,#0a000h ;3
movx a,@dptr ;1
cpl a ;1
jz X00c3 ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#0bh ;2
mov 10h,#80h ;3
clr p1.0 ;2
setb p1.1 ;2
clr p1.2 ;2
sjmp X00da ;2
X00c3:
mov dptr,#0c000h ;3
movx a,@dptr ;1
cpl a ;1
jz X00da ;2
movx a,@dptr ;1
mov r0,#12h ;2
mov @r0,a ;1
dec r0 ;1
mov @r0,#0ch ;2
mov 10h,#80h ;3
setb p1.0 ;2
clr p1.1 ;2
clr p1.2 ;2
X00da:
jnb p1.0,X00e3 ;3
jnb p1.1,X00e3 ;3
jb p1.2,X00fd ;3
X00e3:
mov 10h,#80h ;3
mov r7,#0e8h ;2
mov r6,#03h ;2
lcall X0003 ;3
clr p1.3 ;2
nop ;1
nop ;1
setb p1.3 ;2
nop ;1
nop ;1
clr p1.3 ;2
setb p1.2 ;2
setb p1.1 ;2
setb p1.0 ;2
X00fd:
clr a ;1
mov 10h,a ;2
ljmp X0046 ;3
;********************************************************
X0103:
db 22h ;1
;********************************************************
X0104:
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
nop ;1
;********************************************************
X0190:
push acc ;2
push psw ;2
mov psw,#08h ;3
clr ri ;2
clr es ;2
mov a,sbuf ;2
xrl a,#04h ;2
jz X01a5 ;2
setb es ;2
sjmp X01ca ;2
X01a5:
clr p1.4 ;2
mov a,10h ;2
orl a,#04h ;2
mov sbuf,a ;2
X01ad:
jnb ti,X01ad ;3
clr ti ;2
mov a,10h ;2
jz X01ca ;2
mov r0,#11h ;2
mov a,@r0 ;1
mov sbuf,a ;2
X01bb:
jnb ti,X01bb ;3
clr ti ;2
mov r0,#12h ;2
mov a,@r0 ;1
mov sbuf,a ;2
X01c5:
jnb ti,X01c5 ;3
clr ti ;2
X01ca:
setb p1.4 ;2
setb es ;2
pop psw ;2
pop acc ;2
reti ;1
;********************************************************
X01d3:
db 05h ;1
db 11h ;1
db 34h ;1
db 45h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 01h ;1
db 10h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
db 00h ;1
end |