.text:
00005FBB
loc_5FBB: ; CODE XREF: sub_5EBF
+
4Bj
.text:
00005FBB
ML R8,
0
.text:
00005FBE
STS R8, [R28
-
6
] ; r[
28
-
6
]
=
0
.text:
00005FC4
ML R8,
0
.text:
00005FC7
STS R8, [R28
-
36
] ; [r28
-
36
]
=
0
.text:
00005FCD
ML R8,
0
; r8
=
0
.text:
00005FD0
OR. R1, R8, R8 ; r1
=
0
.text:
00005FD3
.text:
00005FD3
loc_5FD3: ; CODE XREF: sub_5EBF
+
123j
.text:
00005FD3
CMI R1,
27
.text:
00005FD6
BSGE loc_60E4 ; signed 大于等于才跳转
.text:
00005FD9
B loc_5FE5
.text:
00005FDC
;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
.text:
00005FDC
.text:
00005FDC
loc_5FDC: ; CODE XREF: sub_5EBF
+
222j
.text:
00005FDC
ADI. R8, R1,
1
.text:
00005FDF
OR. R1, R8, R8
.text:
00005FE2
B loc_5FD3
.text:
00005FE5
;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
.text:
00005FE5
.text:
00005FE5
loc_5FE5: ; CODE XREF: sub_5EBF
+
11Aj
.text:
00005FE5
MI R8,
0x806C
.text:
00005FEB
AD. R9, R8, R1
.text:
00005FEE
LDS R8, [R9] ; r8
=
*
(
0x806c
+
i)
.text:
00005FF4
LDS R9, [R28
-
6
]
.text:
00005FFA
AD. R8, R9, R8
.text:
00005FFD
STS R8, [R28
-
6
] ; [r28
-
6
]
=
[R28
-
6
]
+
r8
.text:
00006003
MI R8,
0x806C
.text:
00006009
AD. R9, R8, R1 ; r9
=
0x806c
+
i
.text:
0000600C
LDS R8, [R28
-
6
]
.text:
00006012
MI R10,
0x806C
.text:
00006018
AD. R11, R10, R8 ; r11
=
0x806c
+
[r28
-
6
]
.text:
0000601B
MI R8,
0x806C
.text:
00006021
AD. R10, R8, R1 ; r10
=
0x806c
+
i
.text:
00006024
LDS R8, [R28
-
6
]
.text:
0000602A
MI R12,
0x806C
.text:
00006030
AD. R13, R12, R8 ; r13
=
0x806c
+
[r28
-
6
]
.text:
00006033
LDS R8, [R13] ; r8
=
[r13]
.text:
00006039
LDS R12, [R10] ; r12
=
[r10]
.text:
0000603F
XR. R13, R12, R8 ; r13
=
r12 ^ r8
.text:
00006042
STS R13, [R10] ; [r10]
=
r13
.text:
00006048
LDS R8, [R11] ; r8
=
r[
11
]
.text:
0000604E
XR. R10, R8, R13 ; r10
=
r8 ^ r13
.text:
00006051
STS R10, [R11] ; [r11]
=
r10
.text:
00006057
LDS R8, [R9] ; r8
=
[r9]
.text:
0000605D
XR. R11, R8, R10 ; r11
=
r8 ^ r10
.text:
00006060
STS R11, [R9] ; [r9]
=
r11
.text:
00006066
MI R8,
0x806C
.text:
0000606C
AD. R9, R8, R1 ; r9
=
0x806c
+
i
.text:
0000606F
LDS R8, [R28
-
6
]
.text:
00006075
MI R10,
0x806C
.text:
0000607B
AD. R11, R10, R8 ; r11
=
0x806c
+
[r28
-
6
]
.text:
0000607E
LDS R8, [R11] ; r8
=
[r11]
.text:
00006084
LDS R10, [R9] ; r10
=
[r9]
.text:
0000608A
AD. R8, R10, R8 ; r8
=
r10
+
r8
.text:
0000608D
STS R8, [R28
-
39
] ; [R28
-
39
]
=
r8
.text:
00006093
MS R27,
-
33
; 将一个带符号的
17
位立即数移到寄存器中
.text:
00006096
AD. R8, R28, R27 ; r8
=
r28
-
33
加密后字符串存放地址
.text:
00006099
AD. R9, R8, R1 ; r9
=
r8
+
i
.text:
0000609C
AD. R8, R0, R1 ; R0是输入字符串地址, r8
=
r0
+
i
.text:
0000609F
LDS R10, [R28
-
39
]
.text:
000060A5
MI R11,
0x806C
.text:
000060AB
AD. R12, R11, R10 ; r12
=
0x806c
+
[r28
-
39
]
.text:
000060AE
LDS R10, [R12]
.text:
000060B4
LDS R11, [R8] ; r11
=
[r8] 输入的字符串第i个byte
.text:
000060BA
XR. R8, R11, R10 ; r8
=
r11^r10
.text:
000060BD
LDS R10, [R28
-
36
]
.text:
000060C3
AD. R11, R8, R10 ; r11
=
r8
+
[r28
-
36
]
.text:
000060C6
STS R11, [R9] ; [r9]
=
r11
.text:
000060CC
MS R27,
-
33
.text:
000060CF
AD. R8, R28, R27
.text:
000060D2
AD. R9, R8, R1 ; r9
=
r28
-
33
+
i
.text:
000060D5
LDS R9, [R9] ; r9
=
[r9]
.text:
000060DB
STS R9, [R28
-
36
] ; [r28
-
36
]
=
r9
.text:
000060E1
B loc_5FDC