⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a.list

📁 基于arm7s3c2410开发板的bootloader的设计与实现源代码 采用汇编语言和C语言编写
💻 LIST
📖 第 1 页 / 共 5 页
字号:
bios:     文件格式 elf32-littlearm反汇编 .text 节:00000000 <__text_start>:       0:	e10f0000 	mrs	r0, CPSR       4:	e3c0003f 	bic	r0, r0, #63	; 0x3f       8:	e3800013 	orr	r0, r0, #19	; 0x13       c:	e3800080 	orr	r0, r0, #128	; 0x80      10:	e3800040 	orr	r0, r0, #64	; 0x40      14:	e121f000 	msr	CPSR_c, r000000018 <loop>:      18:	e59f012c 	ldr	r0, [pc, #300]	; 14c <copy+0x88>      1c:	e59f112c 	ldr	r1, [pc, #300]	; 150 <copy+0x8c>      20:	e5801000 	str	r1, [r0]      24:	e59f0128 	ldr	r0, [pc, #296]	; 154 <copy+0x90>      28:	e3a01802 	mov	r1, #131072	; 0x20000      2c:	e5801000 	str	r1, [r0]      30:	e59f4120 	ldr	r4, [pc, #288]	; 158 <copy+0x94>      34:	e59f5120 	ldr	r5, [pc, #288]	; 15c <copy+0x98>      38:	e59f6120 	ldr	r6, [pc, #288]	; 160 <copy+0x9c>      3c:	e59f7120 	ldr	r7, [pc, #288]	; 164 <copy+0xa0>      40:	e59f8120 	ldr	r8, [pc, #288]	; 168 <copy+0xa4>      44:	e59f9120 	ldr	r9, [pc, #288]	; 16c <copy+0xa8>      48:	e59f2120 	ldr	r2, [pc, #288]	; 170 <copy+0xac>      4c:	e3e01000 	mvn	r1, #0	; 0x0      50:	e5821000 	str	r1, [r2]      54:	e59f2118 	ldr	r2, [pc, #280]	; 174 <copy+0xb0>      58:	e3e01000 	mvn	r1, #0	; 0x0      5c:	e5821000 	str	r1, [r2]      60:	e59f0110 	ldr	r0, [pc, #272]	; 178 <copy+0xb4>      64:	e59f1110 	ldr	r1, [pc, #272]	; 17c <copy+0xb8>      68:	e5801000 	str	r1, [r0]      6c:	e59f110c 	ldr	r1, [pc, #268]	; 180 <copy+0xbc>      70:	e59f210c 	ldr	r2, [pc, #268]	; 184 <copy+0xc0>      74:	e3a03060 	mov	r3, #96	; 0x60      78:	e3a04060 	mov	r4, #96	; 0x60      7c:	e3a05060 	mov	r5, #96	; 0x60      80:	e3a06060 	mov	r6, #96	; 0x60      84:	e3a07060 	mov	r7, #96	; 0x60      88:	e59f80f8 	ldr	r8, [pc, #248]	; 188 <copy+0xc4>      8c:	e3a09000 	mov	r9, #0	; 0x0      90:	e3a0a000 	mov	sl, #0	; 0x0      94:	e3a0b000 	mov	fp, #0	; 0x0      98:	e59fc0ec 	ldr	ip, [pc, #236]	; 18c <copy+0xc8>      9c:	e59f00ec 	ldr	r0, [pc, #236]	; 190 <copy+0xcc>      a0:	e8801ffe 	stmia	r0, {r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip}      a4:	e59f00ac 	ldr	r0, [pc, #172]	; 158 <copy+0x94>      a8:	e59f10ac 	ldr	r1, [pc, #172]	; 15c <copy+0x98>      ac:	e59f20ac 	ldr	r2, [pc, #172]	; 160 <copy+0x9c>      b0:	e59f30ac 	ldr	r3, [pc, #172]	; 164 <copy+0xa0>      b4:	e0411000 	sub	r1, r1, r0      b8:	e0433002 	sub	r3, r3, r2      bc:	e0811003 	add	r1, r1, r3      c0:	e3a02602 	mov	r2, #2097152	; 0x200000000000c4 <copy>:      c4:	e4903004 	ldr	r3, [r0], #4      c8:	e4823004 	str	r3, [r2], #4      cc:	e2511004 	subs	r1, r1, #4	; 0x4      d0:	1afffffb 	bne	c4 <copy>      d4:	e59f10a4 	ldr	r1, [pc, #164]	; 180 <copy+0xbc>      d8:	e59f20b4 	ldr	r2, [pc, #180]	; 194 <copy+0xd0>      dc:	e3a03060 	mov	r3, #96	; 0x60      e0:	e3a04060 	mov	r4, #96	; 0x60      e4:	e3a05060 	mov	r5, #96	; 0x60      e8:	e3a06060 	mov	r6, #96	; 0x60      ec:	e3a07060 	mov	r7, #96	; 0x60      f0:	e59f80a0 	ldr	r8, [pc, #160]	; 198 <copy+0xd4>      f4:	e3a09000 	mov	r9, #0	; 0x0      f8:	e3a0a000 	mov	sl, #0	; 0x0      fc:	e3a0b000 	mov	fp, #0	; 0x0     100:	e59fc084 	ldr	ip, [pc, #132]	; 18c <copy+0xc8>     104:	e59f0084 	ldr	r0, [pc, #132]	; 190 <copy+0xcc>     108:	e8801ffe 	stmia	r0, {r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip}     10c:	e59f0048 	ldr	r0, [pc, #72]	; 15c <copy+0x98>     110:	e59f1048 	ldr	r1, [pc, #72]	; 160 <copy+0x9c>     114:	e59f304c 	ldr	r3, [pc, #76]	; 168 <copy+0xa4>     118:	e1500001 	cmp	r0, r1     11c:	0a000003 	beq	130 <copy+0x6c>     120:	e1510003 	cmp	r1, r3     124:	34902004 	ldrcc	r2, [r0], #4     128:	34812004 	strcc	r2, [r1], #4     12c:	3afffffb 	bcc	120 <copy+0x5c>     130:	e59f1034 	ldr	r1, [pc, #52]	; 16c <copy+0xa8>     134:	e3a02000 	mov	r2, #0	; 0x0     138:	e1530001 	cmp	r3, r1     13c:	34832004 	strcc	r2, [r3], #4     140:	3afffffc 	bcc	138 <copy+0x74>     144:	e3a0da16 	mov	sp, #90112	; 0x16000     148:	e59ff04c 	ldr	pc, [pc, #76]	; 19c <copy+0xd8>     14c:	03ff5000 	mvneqs	r5, #0	; 0x0     150:	0003ffff 	streqd	pc, [r3], -pc     154:	03ff5008 	mvneqs	r5, #8	; 0x8     158:	00000000 	andeq	r0, r0, r0     15c:	00002a24 	andeq	r2, r0, r4, lsr #20     160:	00004000 	andeq	r4, r0, r0     164:	00004024 	andeq	r4, r0, r4, lsr #32     168:	00004030 	andeq	r4, r0, r0, lsr r0     16c:	00004034 	andeq	r4, r0, r4, lsr r0     170:	03ff4008 	mvneqs	r4, #8	; 0x8     174:	03ff4004 	mvneqs	r4, #4	; 0x4     178:	03ff0000 	mvneqs	r0, #0	; 0x0     17c:	87fffe12 	undefined     180:	00003001 	andeq	r3, r0, r1     184:	02000060 	andeq	r0, r0, #96	; 0x60     188:	12008380 	andne	r8, r0, #2	; 0x2     18c:	ce278360 	cdpgt	3, 2, cr8, cr7, cr0, {3}     190:	03ff3010 	mvneqs	r3, #16	; 0x10     194:	12040060 	andne	r0, r4, #96	; 0x60     198:	10000380 	andne	r0, r0, r0, lsl #7     19c:	000001a0 	andeq	r0, r0, r0, lsr #3000001a0 <load>:     1a0:	e1a0c00d 	mov	ip, sp     1a4:	e92dd810 	stmdb	sp!, {r4, fp, ip, lr, pc}     1a8:	e24cb004 	sub	fp, ip, #4	; 0x4     1ac:	e24dd008 	sub	sp, sp, #8	; 0x8     1b0:	e3a03000 	mov	r3, #0	; 0x0     1b4:	e50b3018 	str	r3, [fp, -#24]     1b8:	e3a007ff 	mov	r0, #66846720	; 0x3fc0000     1bc:	e2800a3d 	add	r0, r0, #249856	; 0x3d000     1c0:	e3a01d0a 	mov	r1, #640	; 0x280     1c4:	eb00046f 	bl	1388 <uart_init>     1c8:	ea000000 	b	1d0 <load+0x30>     1cc:	ea000017 	b	230 <load+0x90>     1d0:	eb0002ea 	bl	d80 <led_all_dark>     1d4:	e3a00001 	mov	r0, #1	; 0x1     1d8:	eb00032d 	bl	e94 <led_one_light>     1dc:	e3a00001 	mov	r0, #1	; 0x1     1e0:	eb000301 	bl	dec <led_delay>     1e4:	e3a00003 	mov	r0, #3	; 0x3     1e8:	eb000329 	bl	e94 <led_one_light>     1ec:	e3a00001 	mov	r0, #1	; 0x1     1f0:	eb0002fd 	bl	dec <led_delay>     1f4:	e59f0028 	ldr	r0, [pc, #40]	; 224 <load+0x84>     1f8:	eb00051a 	bl	1668 <my_printf>     1fc:	e59f0024 	ldr	r0, [pc, #36]	; 228 <load+0x88>     200:	eb000518 	bl	1668 <my_printf>     204:	e59f0020 	ldr	r0, [pc, #32]	; 22c <load+0x8c>     208:	eb000516 	bl	1668 <my_printf>     20c:	eb000073 	bl	3e0 <shell_command>     210:	eb000261 	bl	b9c <flashl>     214:	e3a04902 	mov	r4, #32768	; 0x8000     218:	e1a0e00f 	mov	lr, pc     21c:	e1a0f004 	mov	pc, r4     220:	eaffffe8 	b	1c8 <load+0x28>     224:	00002710 	andeq	r2, r0, r0, lsl r7     228:	00002724 	andeq	r2, r0, r4, lsr #14     22c:	00002744 	andeq	r2, r0, r4, asr #14     230:	e91ba810 	ldmdb	fp, {r4, fp, sp, pc}00000234 <shell_getchar>:     234:	e1a0c00d 	mov	ip, sp     238:	e92dd800 	stmdb	sp!, {fp, ip, lr, pc}     23c:	e24cb004 	sub	fp, ip, #4	; 0x4     240:	e24dd004 	sub	sp, sp, #4	; 0x4     244:	e24b300d 	sub	r3, fp, #13	; 0xd     248:	e3a007ff 	mov	r0, #66846720	; 0x3fc0000     24c:	e2800a3d 	add	r0, r0, #249856	; 0x3d000     250:	e1a01003 	mov	r1, r3     254:	eb00047e 	bl	1454 <uart_getchar>     258:	e55b300d 	ldrb	r3, [fp, -#13]     25c:	e1a00003 	mov	r0, r3     260:	eaffffff 	b	264 <shell_getchar+0x30>     264:	e91ba800 	ldmdb	fp, {fp, sp, pc}00000268 <shell_putchar>:     268:	e1a0c00d 	mov	ip, sp     26c:	e92dd800 	stmdb	sp!, {fp, ip, lr, pc}     270:	e24cb004 	sub	fp, ip, #4	; 0x4     274:	e24dd004 	sub	sp, sp, #4	; 0x4     278:	e1a03000 	mov	r3, r0     27c:	e1a02003 	mov	r2, r3     280:	e54b200d 	strb	r2, [fp, -#13]     284:	e55b300d 	ldrb	r3, [fp, -#13]     288:	e3a007ff 	mov	r0, #66846720	; 0x3fc0000     28c:	e2800a3d 	add	r0, r0, #249856	; 0x3d000     290:	e1a01003 	mov	r1, r3     294:	eb000454 	bl	13ec <uart_putchar>     298:	e55b300d 	ldrb	r3, [fp, -#13]     29c:	e1a00003 	mov	r0, r3     2a0:	eaffffff 	b	2a4 <shell_putchar+0x3c>     2a4:	e91ba800 	ldmdb	fp, {fp, sp, pc}000002a8 <shell_gets>:     2a8:	e1a0c00d 	mov	ip, sp     2ac:	e92dd830 	stmdb	sp!, {r4, r5, fp, ip, lr, pc}     2b0:	e24cb004 	sub	fp, ip, #4	; 0x4     2b4:	e24dd004 	sub	sp, sp, #4	; 0x4     2b8:	e50b0018 	str	r0, [fp, -#24]     2bc:	e51b5018 	ldr	r5, [fp, -#24]     2c0:	ebffffdb 	bl	234 <shell_getchar>     2c4:	e1a03000 	mov	r3, r0     2c8:	e20340ff 	and	r4, r3, #255	; 0xff     2cc:	e20330ff 	and	r3, r3, #255	; 0xff     2d0:	e353000a 	cmp	r3, #10	; 0xa     2d4:	0a000002 	beq	2e4 <shell_gets+0x3c>     2d8:	e354000d 	cmp	r4, #13	; 0xd     2dc:	1a000001 	bne	2e8 <shell_gets+0x40>     2e0:	eaffffff 	b	2e4 <shell_gets+0x3c>     2e4:	ea000015 	b	340 <shell_gets+0x98>     2e8:	e3540008 	cmp	r4, #8	; 0x8     2ec:	1a00000d 	bne	328 <shell_gets+0x80>     2f0:	e51b3018 	ldr	r3, [fp, -#24]     2f4:	e1550003 	cmp	r5, r3     2f8:	9a000007 	bls	31c <shell_gets+0x74>     2fc:	e3a00008 	mov	r0, #8	; 0x8     300:	ebffffd8 	bl	268 <shell_putchar>     304:	e3a00020 	mov	r0, #32	; 0x20     308:	ebffffd6 	bl	268 <shell_putchar>     30c:	e3a00008 	mov	r0, #8	; 0x8     310:	ebffffd4 	bl	268 <shell_putchar>     314:	e2455001 	sub	r5, r5, #1	; 0x1     318:	ea000001 	b	324 <shell_gets+0x7c>     31c:	e3a00007 	mov	r0, #7	; 0x7     320:	ebffffd0 	bl	268 <shell_putchar>     324:	ea000004 	b	33c <shell_gets+0x94>     328:	e1a00004 	mov	r0, r4     32c:	ebffffcd 	bl	268 <shell_putchar>     330:	e1a03004 	mov	r3, r4     334:	e5c53000 	strb	r3, [r5]     338:	e2855001 	add	r5, r5, #1	; 0x1     33c:	eaffffdf 	b	2c0 <shell_gets+0x18>     340:	e3a0000d 	mov	r0, #13	; 0xd     344:	ebffffc7 	bl	268 <shell_putchar>     348:	e3a0000a 	mov	r0, #10	; 0xa     34c:	ebffffc5 	bl	268 <shell_putchar>     350:	e3a03000 	mov	r3, #0	; 0x0     354:	e1a02003 	mov	r2, r3     358:	e5c52000 	strb	r2, [r5]     35c:	e51b2018 	ldr	r2, [fp, -#24]     360:	e0623005 	rsb	r3, r2, r5     364:	e1a00003 	mov	r0, r3     368:	eaffffff 	b	36c <shell_gets+0xc4>     36c:	e91ba830 	ldmdb	fp, {r4, r5, fp, sp, pc}00000370 <shell_readline>:     370:	e1a0c00d 	mov	ip, sp     374:	e92dd830 	stmdb	sp!, {r4, r5, fp, ip, lr, pc}     378:	e24cb004 	sub	fp, ip, #4	; 0x4     37c:	e24dd004 	sub	sp, sp, #4	; 0x4     380:	e50b0018 	str	r0, [fp, -#24]     384:	e51b5018 	ldr	r5, [fp, -#24]     388:	ebffffa9 	bl	234 <shell_getchar>     38c:	e1a03000 	mov	r3, r0     390:	e20340ff 	and	r4, r3, #255	; 0xff     394:	e20330ff 	and	r3, r3, #255	; 0xff     398:	e353000a 	cmp	r3, #10	; 0xa     39c:	0a000002 	beq	3ac <shell_readline+0x3c>     3a0:	e354000d 	cmp	r4, #13	; 0xd     3a4:	1a000001 	bne	3b0 <shell_readline+0x40>     3a8:	eaffffff 	b	3ac <shell_readline+0x3c>     3ac:	ea000003 	b	3c0 <shell_readline+0x50>     3b0:	e1a03004 	mov	r3, r4     3b4:	e5c53000 	strb	r3, [r5]     3b8:	e2855001 	add	r5, r5, #1	; 0x1     3bc:	eafffff1 	b	388 <shell_readline+0x18>     3c0:	e3a03000 	mov	r3, #0	; 0x0     3c4:	e1a02003 	mov	r2, r3     3c8:	e5c52000 	strb	r2, [r5]     3cc:	e51b2018 	ldr	r2, [fp, -#24]     3d0:	e0623005 	rsb	r3, r2, r5     3d4:	e1a00003 	mov	r0, r3     3d8:	eaffffff 	b	3dc <shell_readline+0x6c>     3dc:	e91ba830 	ldmdb	fp, {r4, r5, fp, sp, pc}000003e0 <shell_command>:     3e0:	e1a0c00d 	mov	ip, sp     3e4:	e92dd810 	stmdb	sp!, {r4, fp, ip, lr, pc}     3e8:	e24cb004 	sub	fp, ip, #4	; 0x4     3ec:	e24ddc01 	sub	sp, sp, #256	; 0x100     3f0:	e1a00000 	nop			(mov r0,r0)     3f4:	ea000000 	b	3fc <shell_command+0x1c>     3f8:	ea000050 	b	540 <shell_command+0x160>     3fc:	e59f0140 	ldr	r0, [pc, #320]	; 544 <shell_command+0x164>     400:	eb000498 	bl	1668 <my_printf>     404:	e24b3e11 	sub	r3, fp, #272	; 0x110     408:	e1a00003 	mov	r0, r3     40c:	e59f1134 	ldr	r1, [pc, #308]	; 548 <shell_command+0x168>     410:	eb00052f 	bl	18d4 <my_strcpy>     414:	e24b3e11 	sub	r3, fp, #272	; 0x110     418:	e1a00003 	mov	r0, r3     41c:	ebffffa1 	bl	2a8 <shell_gets>     420:	e24b4e11 	sub	r4, fp, #272	; 0x110     424:	e24b3e11 	sub	r3, fp, #272	; 0x110     428:	e1a00003 	mov	r0, r3     42c:	eb0004f1 	bl	17f8 <my_strlen>     430:	e1a03000 	mov	r3, r0     434:	e59f0110 	ldr	r0, [pc, #272]	; 54c <shell_command+0x16c>     438:	e1a01004 	mov	r1, r4     43c:	e1a02003 	mov	r2, r3     440:	eb000488 	bl	1668 <my_printf>     444:	e24b3e11 	sub	r3, fp, #272	; 0x110     448:	e1a00003 	mov	r0, r3     44c:	e59f10fc 	ldr	r1, [pc, #252]	; 550 <shell_command+0x170>     450:	eb0004fe 	bl	1850 <my_strcmp>     454:	e1a03000 	mov	r3, r0     458:	e3530000 	cmp	r3, #0	; 0x0     45c:	1a000001 	bne	468 <shell_command+0x88>     460:	eb000042 	bl	570 <help>     464:	ea000034 	b	53c <shell_command+0x15c>     468:	e24b3e11 	sub	r3, fp, #272	; 0x110     46c:	e1a00003 	mov	r0, r3     470:	e59f10dc 	ldr	r1, [pc, #220]	; 554 <shell_command+0x174>     474:	eb0004f5 	bl	1850 <my_strcmp>     478:	e1a03000 	mov	r3, r0     47c:	e3530000 	cmp	r3, #0	; 0x0     480:	1a000001 	bne	48c <shell_command+0xac>     484:	eb00079b 	bl	22f8 <xmodem_receive>     488:	ea00002b 	b	53c <shell_command+0x15c>     48c:	e24b3e11 	sub	r3, fp, #272	; 0x110     490:	e1a00003 	mov	r0, r3     494:	e59f10bc 	ldr	r1, [pc, #188]	; 558 <shell_command+0x178>     498:	eb0004ec 	bl	1850 <my_strcmp>     49c:	e1a03000 	mov	r3, r0     4a0:	e3530000 	cmp	r3, #0	; 0x0     4a4:	1a000001 	bne	4b0 <shell_command+0xd0>     4a8:	eb00003e 	bl	5a8 <go>     4ac:	ea000022 	b	53c <shell_command+0x15c>     4b0:	e24b3e11 	sub	r3, fp, #272	; 0x110     4b4:	e1a00003 	mov	r0, r3     4b8:	e59f109c 	ldr	r1, [pc, #156]	; 55c <shell_command+0x17c>     4bc:	eb0004e3 	bl	1850 <my_strcmp>     4c0:	e1a03000 	mov	r3, r0     4c4:	e3530000 	cmp	r3, #0	; 0x0     4c8:	1a000001 	bne	4d4 <shell_command+0xf4>     4cc:	eb00016d 	bl	a88 <dump>     4d0:	ea000019 	b	53c <shell_command+0x15c>     4d4:	e24b3e11 	sub	r3, fp, #272	; 0x110     4d8:	e1a00003 	mov	r0, r3     4dc:	e59f107c 	ldr	r1, [pc, #124]	; 560 <shell_command+0x180>     4e0:	eb0004da 	bl	1850 <my_strcmp>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -