📄 boot.txt
字号:
bootloader.exe: file format elf32-littlearm
Disassembly of section .text:
00000000 <_startup>:
0: ea000cde b 3380 <INTR_HandleErrorTrap+0x2c>
4: e59ff018 ldr pc, [pc, #24] ; 24 <_starttext+0x24>
8: e59ff018 ldr pc, [pc, #24] ; 28 <_starttext+0x28>
c: e59ff018 ldr pc, [pc, #24] ; 2c <_starttext+0x2c>
10: e59ff018 ldr pc, [pc, #24] ; 30 <_starttext+0x30>
14: e59ff018 ldr pc, [pc, #24] ; 34 <_starttext+0x34>
18: e59ff018 ldr pc, [pc, #24] ; 38 <_starttext+0x38>
1c: e59ff018 ldr pc, [pc, #24] ; 3c <_starttext+0x3c>
20: e59ff018 ldr pc, [pc, #24] ; 40 <_starttext+0x40>
24: 000034e8 andeq r3, r0, r8, ror #9
28: 000034f8 streqd r3, [r0], -r8
2c: 00003508 andeq r3, r0, r8, lsl #10
30: 00003518 andeq r3, r0, r8, lsl r5
34: 00003528 andeq r3, r0, r8, lsr #10
38: 00003538 andeq r3, r0, r8, lsr r5
3c: 0000355c andeq r3, r0, ip, asr r5
40: 0000341c andeq r3, r0, ip, lsl r4
00000044 <Delay>:
44: e1a0c00d mov ip, sp
48: e3500000 cmp r0, #0 ; 0x0
4c: e92dd800 stmdb sp!, {fp, ip, lr, pc}
50: e3a02000 mov r2, #0 ; 0x0
54: e24cb004 sub fp, ip, #4 ; 0x4
58: 0a000019 beq c4 <Delay+0x80>
5c: ea000008 b 84 <Delay+0x40>
60: e59f3098 ldr r3, [pc, #152] ; 100 <Delay+0xbc>
64: e3a01000 mov r1, #0 ; 0x0
68: ea000001 b 74 <Delay+0x30>
6c: e59f308c ldr r3, [pc, #140] ; 100 <Delay+0xbc>
70: e2811001 add r1, r1, #1 ; 0x1
74: e5933000 ldr r3, [r3]
78: e1510003 cmp r1, r3
7c: bafffffa blt 6c <Delay+0x28>
80: e2400001 sub r0, r0, #1 ; 0x1
84: e3500000 cmp r0, #0 ; 0x0
88: cafffff4 bgt 60 <Delay+0x1c>
8c: e3520001 cmp r2, #1 ; 0x1
90: 191ba800 ldmnedb fp, {fp, sp, pc}
94: e59f2068 ldr r2, [pc, #104] ; 104 <Delay+0xc0>
98: e3a03453 mov r3, #1392508928 ; 0x53000000
9c: e4832008 str r2, [r3], #8
a0: e5933000 ldr r3, [r3]
a4: e59f005c ldr r0, [pc, #92] ; 108 <Delay+0xc4>
a8: e2631cff rsb r1, r3, #65280 ; 0xff00
ac: e28110ff add r1, r1, #255 ; 0xff
b0: e1a01301 mov r1, r1, lsl #6
b4: eb0011e5 bl 4850 <__divsi3>
b8: e59f3040 ldr r3, [pc, #64] ; 100 <Delay+0xbc>
bc: e5830000 str r0, [r3]
c0: e91ba800 ldmdb fp, {fp, sp, pc}
c4: e59f3034 ldr r3, [pc, #52] ; 100 <Delay+0xbc>
c8: e2822e19 add r2, r2, #400 ; 0x190
cc: e5832000 str r2, [r3]
d0: e59f302c ldr r3, [pc, #44] ; 104 <Delay+0xc0>
d4: e3a00453 mov r0, #1392508928 ; 0x53000000
d8: e5803000 str r3, [r0]
dc: e59f1028 ldr r1, [pc, #40] ; 10c <Delay+0xc8>
e0: e59f3028 ldr r3, [pc, #40] ; 110 <Delay+0xcc>
e4: e3a02001 mov r2, #1 ; 0x1
e8: e4831004 str r1, [r3], #4
ec: e5831000 str r1, [r3]
f0: e59f301c ldr r3, [pc, #28] ; 114 <Delay+0xd0>
f4: e5803000 str r3, [r0]
f8: e3a000c8 mov r0, #200 ; 0xc8
fc: eaffffe0 b 84 <Delay+0x40>
100: 32000000 andcc r0, r0, #0 ; 0x0
104: 00002c10 andeq r2, r0, r0, lsl ip
108: 007a1200 rsbeqs r1, sl, r0, lsl #4
10c: 0000ffff streqd pc, [r0], -pc
110: 53000004 tstpl r0, #4 ; 0x4
114: 00002c30 andeq r2, r0, r0, lsr ip
00000118 <Port_Init>:
118: e59f2090 ldr r2, [pc, #144] ; 1b0 <Port_Init+0x98>
11c: e3a03456 mov r3, #1442840576 ; 0x56000000
120: e52de004 str lr, [sp, -#4]!
124: e5832000 str r2, [r3]
128: e59f2084 ldr r2, [pc, #132] ; 1b4 <Port_Init+0x9c>
12c: e59fe084 ldr lr, [pc, #132] ; 1b8 <Port_Init+0xa0>
130: e2833010 add r3, r3, #16 ; 0x10
134: e5832000 str r2, [r3]
138: e59f107c ldr r1, [pc, #124] ; 1bc <Port_Init+0xa4>
13c: e2833008 add r3, r3, #8 ; 0x8
140: e583e000 str lr, [r3]
144: e59f0074 ldr r0, [pc, #116] ; 1c0 <Port_Init+0xa8>
148: e2833008 add r3, r3, #8 ; 0x8
14c: e4831008 str r1, [r3], #8
150: e4830008 str r0, [r3], #8
154: e4831008 str r1, [r3], #8
158: e4830008 str r0, [r3], #8
15c: e5831000 str r1, [r3]
160: e59f205c ldr r2, [pc, #92] ; 1c4 <Port_Init+0xac>
164: e2833008 add r3, r3, #8 ; 0x8
168: e4830008 str r0, [r3], #8
16c: e5832000 str r2, [r3]
170: e3a020ff mov r2, #255 ; 0xff
174: e2833008 add r3, r3, #8 ; 0x8
178: e5832000 str r2, [r3]
17c: e59f2044 ldr r2, [pc, #68] ; 1c8 <Port_Init+0xb0>
180: e2833008 add r3, r3, #8 ; 0x8
184: e4832008 str r2, [r3], #8
188: e59f203c ldr r2, [pc, #60] ; 1cc <Port_Init+0xb4>
18c: e4830008 str r0, [r3], #8
190: e5832000 str r2, [r3]
194: e59fc034 ldr ip, [pc, #52] ; 1d0 <Port_Init+0xb8>
198: e2833008 add r3, r3, #8 ; 0x8
19c: e483e010 str lr, [r3], #16
1a0: e483c004 str ip, [r3], #4
1a4: e483c004 str ip, [r3], #4
1a8: e583c000 str ip, [r3]
1ac: e49df004 ldr pc, [sp], #4
1b0: 007fffff ldreqsh pc, [pc, #-255] ; b9 <Delay+0x75>
1b4: 00044555 andeq r4, r4, r5, asr r5
1b8: 000007ff streqd r0, [r0], -pc
1bc: aaaaaaaa bge feaaac6c <__bss_end__+0xccaa9b10>
1c0: 0000ffff streqd pc, [r0], -pc
1c4: 000055aa andeq r5, r0, sl, lsr #11
1c8: ff95ffba swinv 0x0095ffba
1cc: 002afaaa eoreq pc, sl, sl, lsr #21
1d0: 22222222 eorcs r2, r2, #536870914 ; 0x20000002
000001d4 <Uart_Init>:
1d4: e1a0c00d mov ip, sp
1d8: e92dd8f0 stmdb sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
1dc: e59f30b8 ldr r3, [pc, #184] ; 29c <Uart_Init+0xc8>
1e0: e1a04000 mov r4, r0
1e4: e3540000 cmp r4, #0 ; 0x0
1e8: e3a02000 mov r2, #0 ; 0x0
1ec: 01a04003 moveq r4, r3
1f0: e3a03285 mov r3, #1342177288 ; 0x50000008
1f4: e5832000 str r2, [r3]
1f8: e2833901 add r3, r3, #16384 ; 0x4000
1fc: e5832000 str r2, [r3]
200: e2833901 add r3, r3, #16384 ; 0x4000
204: e5832000 str r2, [r3]
208: e3a032c5 mov r3, #1342177292 ; 0x5000000c
20c: e5832000 str r2, [r3]
210: e2833901 add r3, r3, #16384 ; 0x4000
214: e5832000 str r2, [r3]
218: e59f6080 ldr r6, [pc, #128] ; 2a0 <Uart_Init+0xcc>
21c: e3a05003 mov r5, #3 ; 0x3
220: e3a03205 mov r3, #1342177280 ; 0x50000000
224: e1a07201 mov r7, r1, lsl #4
228: e5835000 str r5, [r3]
22c: e0841181 add r1, r4, r1, lsl #3
230: e2833004 add r3, r3, #4 ; 0x4
234: e1a00001 mov r0, r1
238: e5836000 str r6, [r3]
23c: e1a01007 mov r1, r7
240: e24cb004 sub fp, ip, #4 ; 0x4
244: eb001181 bl 4850 <__divsi3>
248: e59f3054 ldr r3, [pc, #84] ; 2a4 <Uart_Init+0xd0>
24c: e1a02000 mov r2, r0
250: e2422001 sub r2, r2, #1 ; 0x1
254: e5832000 str r2, [r3]
258: e59f3048 ldr r3, [pc, #72] ; 2a8 <Uart_Init+0xd4>
25c: e1a00004 mov r0, r4
260: e4835004 str r5, [r3], #4
264: e5836000 str r6, [r3]
268: e1a01007 mov r1, r7
26c: eb001177 bl 4850 <__divsi3>
270: e59f3034 ldr r3, [pc, #52] ; 2ac <Uart_Init+0xd8>
274: e2400001 sub r0, r0, #1 ; 0x1
278: e5830000 str r0, [r3]
27c: e59f302c ldr r3, [pc, #44] ; 2b0 <Uart_Init+0xdc>
280: e4835004 str r5, [r3], #4
284: e4836024 str r6, [r3], #36
288: e5830000 str r0, [r3]
28c: e3a03063 mov r3, #99 ; 0x63
290: e2533001 subs r3, r3, #1 ; 0x1
294: 5afffffd bpl 290 <Uart_Init+0xbc>
298: e91ba8f0 ldmdb fp, {r4, r5, r6, r7, fp, sp, pc}
29c: 02aea540 adceq sl, lr, #268435456 ; 0x10000000
2a0: 00000245 andeq r0, r0, r5, asr #4
2a4: 50000028 andpl r0, r0, r8, lsr #32
2a8: 50004000 andpl r4, r0, r0
2ac: 50004028 andpl r4, r0, r8, lsr #32
2b0: 50008000 andpl r8, r0, r0
000002b4 <Uart_Select>:
2b4: e59f3004 ldr r3, [pc, #4] ; 2c0 <Uart_Select+0xc>
2b8: e5830000 str r0, [r3]
2bc: e1a0f00e mov pc, lr
2c0: 32000004 andcc r0, r0, #4 ; 0x4
000002c4 <Uart_TxEmpty>:
2c4: e3500000 cmp r0, #0 ; 0x0
2c8: 0a00000d beq 304 <Uart_TxEmpty+0x40>
2cc: e3500001 cmp r0, #1 ; 0x1
2d0: 0a000006 beq 2f0 <Uart_TxEmpty+0x2c>
2d4: e3500002 cmp r0, #2 ; 0x2
2d8: 11a0f00e movne pc, lr
2dc: e59f3034 ldr r3, [pc, #52] ; 318 <Uart_TxEmpty+0x54>
2e0: e5933000 ldr r3, [r3]
2e4: e3130004 tst r3, #4 ; 0x4
2e8: 0afffffb beq 2dc <Uart_TxEmpty+0x18>
2ec: e1a0f00e mov pc, lr
2f0: e59f3024 ldr r3, [pc, #36] ; 31c <Uart_TxEmpty+0x58>
2f4: e5933000 ldr r3, [r3]
2f8: e3130004 tst r3, #4 ; 0x4
2fc: 0afffffb beq 2f0 <Uart_TxEmpty+0x2c>
300: e1a0f00e mov pc, lr
304: e59f3014 ldr r3, [pc, #20] ; 320 <Uart_TxEmpty+0x5c>
308: e5933000 ldr r3, [r3]
30c: e3130004 tst r3, #4 ; 0x4
310: 0afffffb beq 304 <Uart_TxEmpty+0x40>
314: e1a0f00e mov pc, lr
318: 50008010 andpl r8, r0, r0, lsl r0
31c: 50004010 andpl r4, r0, r0, lsl r0
320: 50000010 andpl r0, r0, r0, lsl r0
00000324 <Uart_Getch>:
324: e59f306c ldr r3, [pc, #108] ; 398 <Uart_Getch+0x74>
328: e5933000 ldr r3, [r3]
32c: e3530000 cmp r3, #0 ; 0x0
330: 0a000010 beq 378 <Uart_Getch+0x54>
334: e3530001 cmp r3, #1 ; 0x1
338: 0a000008 beq 360 <Uart_Getch+0x3c>
33c: e3530002 cmp r3, #2 ; 0x2
340: 0a000000 beq 348 <Uart_Getch+0x24>
344: e1a0f00e mov pc, lr
348: e59f304c ldr r3, [pc, #76] ; 39c <Uart_Getch+0x78>
34c: e5933000 ldr r3, [r3]
350: e3130001 tst r3, #1 ; 0x1
354: 0afffffb beq 348 <Uart_Getch+0x24>
358: e59f3040 ldr r3, [pc, #64] ; 3a0 <Uart_Getch+0x7c>
35c: ea00000a b 38c <Uart_Getch+0x68>
360: e59f303c ldr r3, [pc, #60] ; 3a4 <Uart_Getch+0x80>
364: e5933000 ldr r3, [r3]
368: e3130001 tst r3, #1 ; 0x1
36c: 0afffffb beq 360 <Uart_Getch+0x3c>
370: e59f3030 ldr r3, [pc, #48] ; 3a8 <Uart_Getch+0x84>
374: ea000004 b 38c <Uart_Getch+0x68>
378: e59f302c ldr r3, [pc, #44] ; 3ac <Uart_Getch+0x88>
37c: e5933000 ldr r3, [r3]
380: e3130001 tst r3, #1 ; 0x1
384: 0afffffb beq 378 <Uart_Getch+0x54>
388: e59f3020 ldr r3, [pc, #32] ; 3b0 <Uart_Getch+0x8c>
38c: e5d30000 ldrb r0, [r3]
390: e20000ff and r0, r0, #255 ; 0xff
394: e1a0f00e mov pc, lr
398: 32000004 andcc r0, r0, #4 ; 0x4
39c: 50008010 andpl r8, r0, r0, lsl r0
3a0: 50008024 andpl r8, r0, r4, lsr #32
3a4: 50004010 andpl r4, r0, r0, lsl r0
3a8: 50004024 andpl r4, r0, r4, lsr #32
3ac: 50000010 andpl r0, r0, r0, lsl r0
3b0: 50000024 andpl r0, r0, r4, lsr #32
000003b4 <Uart_GetKey>:
3b4: e59f306c ldr r3, [pc, #108] ; 428 <Uart_GetKey+0x74>
3b8: e5930000 ldr r0, [r3]
3bc: e3500000 cmp r0, #0 ; 0x0
3c0: 0a000010 beq 408 <Uart_GetKey+0x54>
3c4: e3500001 cmp r0, #1 ; 0x1
3c8: 0a000008 beq 3f0 <Uart_GetKey+0x3c>
3cc: e3500002 cmp r0, #2 ; 0x2
3d0: 0a000000 beq 3d8 <Uart_GetKey+0x24>
3d4: e1a0f00e mov pc, lr
3d8: e59f304c ldr r3, [pc, #76] ; 42c <Uart_GetKey+0x78>
3dc: e5933000 ldr r3, [r3]
3e0: e2130001 ands r0, r3, #1 ; 0x1
3e4: 01a0f00e moveq pc, lr
3e8: e59f3040 ldr r3, [pc, #64] ; 430 <Uart_GetKey+0x7c>
3ec: ea00000a b 41c <Uart_GetKey+0x68>
3f0: e59f303c ldr r3, [pc, #60] ; 434 <Uart_GetKey+0x80>
3f4: e5933000 ldr r3, [r3]
3f8: e2130001 ands r0, r3, #1 ; 0x1
3fc: 01a0f00e moveq pc, lr
400: e59f3030 ldr r3, [pc, #48] ; 438 <Uart_GetKey+0x84>
404: ea000004 b 41c <Uart_GetKey+0x68>
408: e59f302c ldr r3, [pc, #44] ; 43c <Uart_GetKey+0x88>
40c: e5933000 ldr r3, [r3]
410: e3130001 tst r3, #1 ; 0x1
414: 01a0f00e moveq pc, lr
418: e59f3020 ldr r3, [pc, #32] ; 440 <Uart_GetKey+0x8c>
41c: e5d30000 ldrb r0, [r3]
420: e20000ff and r0, r0, #255 ; 0xff
424: e1a0f00e mov pc, lr
428: 32000004 andcc r0, r0, #4 ; 0x4
42c: 50008010 andpl r8, r0, r0, lsl r0
430: 50008024 andpl r8, r0, r4, lsr #32
434: 50004010 andpl r4, r0, r0, lsl r0
438: 50004024 andpl r4, r0, r4, lsr #32
43c: 50000010 andpl r0, r0, r0, lsl r0
440: 50000024 andpl r0, r0, r4, lsr #32
00000444 <Uart_GetString>:
444: e1a0c00d mov ip, sp
448: e92dd830 stmdb sp!, {r4, r5, fp, ip, lr, pc}
44c: e1a04000 mov r4, r0
450: e24cb004 sub fp, ip, #4 ; 0x4
454: e1a05004 mov r5, r4
458: ebffffb1 bl 324 <Uart_Getch>
45c: e20030ff and r3, r0, #255 ; 0xff
460: e353000d cmp r3, #13 ; 0xd
464: e1a00003 mov r0, r3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -