bits, and added to the PC.
偏移量offset 6<<2 =6*2*2=24
Pc=pc+24
=(当前指令+8)+24
=(c+8)+24=(12+8)+24=44=0x2c
*/
c: eb000006 Bl test ldr pc, =test
10: e59ff018 ldr pc, [pc, #24] ; 30 14: e59f0018 ldr r0, [pc, #24] ; 34 18: e3a01000 mov r1, #0 1c: e5801000 str r1, [r0] 20: e3a0da02 mov sp, #8192 ; 0x2000 24: eb00001f bl a8 00000020 20: eafffffe b 20 /*跳转到此位置*/ 0000002c 2c: e1a0f00e mov pc, lr 30: 0000002c andeq r0, r0, ip, lsr #32 34: 07e00400 strbeq r0, [r0, r0, lsl #8]! 38: 00002541 andeq r2, r0, r1, asr #10 3c: 61656100 cmnvs r5, r0, lsl #2 40: 01006962 tsteq r0, r2, ror #18 44: 0000001b andeq r0, r0, fp, lsl r0 48: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec 4c: 36373131 undefined instruction 0x36373131 50: 2d465a4a vstrcs s11, [r6, #-296] ; 0xfffffed8 54: 09060053 stmdbeq r6, {r0, r1, r4, r6} 58: 01090108 tsteq r9, r8, lsl #2 5c: 0000020a andeq r0, r0, sl, lsl #4 00000054 54: e52db004 push {fp} ; (str fp, [sp, #-4]!) 58: e28db000 add fp, sp, #0 5c: e24dd00c sub sp, sp, #12 60: e3a03a01 mov r3, #4096 ; 0x1000 64: e50b3008 str r3, [fp, #-8] 68: e1a00000 nop ; (mov r0, r0) 6c: e51b3008 ldr r3, [fp, #-8] 70: e3530000 cmp r3, #0 74: 03a02000 moveq r2, #0 78: 13a02001 movne r2, #1 7c: e6ef2072 uxtb r2, r2 80: e2433001 sub r3, r3, #1 84: e50b3008 str r3, [fp, #-8] 88: e3520000 cmp r2, #0 8c: 1afffff6 bne 6c 90: e28bd000 add sp, fp, #0 94: e8bd0800 pop {fp} 98: e12fff1e bx lr 0000009c 9c: e92d4800 push {fp, lr} a0: e28db004 add fp, sp, #4 a4: e24dd008 sub sp, sp, #8 a8: e59f3060 ldr r3, [pc, #96] ; 110 ac: e50b3008 str r3, [fp, #-8] b0: e59f305c ldr r3, [pc, #92] ; 114 b4: e50b300c str r3, [fp, #-12] b8: e51b3008 ldr r3, [fp, #-8] bc: e59f2054 ldr r2, [pc, #84] ; 118 c0: e5832000 str r2, [r3] c4: e59f3050 ldr r3, [pc, #80] ; 11c c8: e5933000 ldr r3, [r3] cc: e1a02003 mov r2, r3 d0: e51b300c ldr r3, [fp, #-12] d4: e5832000 str r2, [r3] d8: e59f303c ldr r3, [pc, #60] ; 11c dc: e5933000 ldr r3, [r3] e0: e2832001 add r2, r3, #1 e4: e59f3030 ldr r3, [pc, #48] ; 11c e8: e5832000 str r2, [r3] ec: e59f3028 ldr r3, [pc, #40] ; 11c f0: e5933000 ldr r3, [r3] f4: e3530010 cmp r3, #16 f8: 1a000002 bne 108 fc: e59f3018 ldr r3, [pc, #24] ; 11c 100: e3a02000 mov r2, #0 104: e5832000 str r2, [r3] 108: ebffffd1 bl 54 10c: eaffffec b c4 110: 7f008800 svcvc 0x00008800 114: 7f008808 svcvc 0x00008808 118: 00001111 andeq r1, r0, r1, lsl r1 11c: 00000124 andeq r0, r0, r4, lsr #2 Disassembly of section .data: 00000120 120: 12345678 eorsne r5, r4, #125829120 ; 0x7800000 Disassembly of section .bss: 00000124 : 124: 00000000 andeq r0, r0, r0 00000128 128: 00000000 andeq r0, r0, r0 0000012c 12c: 00000000 andeq r0, r0, r0 Disassembly of section .comment: 00000000 <.comment>: 0: 3a434347 bcc 10d0d24 4: 74632820 strbtvc r2, [r3], #-2080 ; 0x820 8: 312d676e teqcc sp, lr, ror #14 c: 312e382e teqcc lr, lr, lsr #16 10: 2941462d stmdbcs r1, {r0, r2, r3, r5, r9, sl, lr}^ 14: 352e3420 strcc r3, [lr, #-1056]! ; 0x420 18: Address 0x00000018 is out of bounds. Disassembly of section .ARM.attributes: 00000000 <.ARM.attributes>: 0: 00003341 andeq r3, r0, r1, asr #6 4: 61656100 cmnvs r5, r0, lsl #2 8: 01006962 tsteq r0, r2, ror #18 c: 00000029 andeq r0, r0, r9, lsr #32 10: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec 14: 36373131 undefined instruction 0x36373131 18: 2d465a4a vstrcs s11, [r6, #-296] ; 0xfffffed8 1c: 09060053 stmdbeq r6, {r0, r1, r4, r6} 20: 01090108 tsteq r9, r8, lsl #2 24: 0412020a ldreq r0, [r2], #-522 ; 0x20a 28: 01150114 tsteq r5, r4, lsl r1 2c: 01180317 tsteq r8, r7, lsl r3 30: 031b021a tsteq fp, #-1610612735 ; 0xa0000001
上一篇:DDR学习笔记
下一篇:arm学习笔记一(arm概述及其基本编程模型)
推荐阅读最新更新时间:2024-11-04 19:36
设计资源 培训 开发板 精华推荐
- TS1084C 5A低压降正固定稳压器典型应用
- ESP32_CAN_STICK
- DS61150B、PIC32MX USB 入门板
- #第六届立创电赛#离在线语音万能遥控器
- STC12LE5A60S2系统板
- EVAL-ADGS1409SDZ,用于评估 ADGS1409 SPI 接口的评估板,4 欧姆 RON,±15 V/+12 V/±5 V,1.8V 逻辑控制,8:1/双 4:1 多路复用器
- AzureWave Wi-Fi Evaluation Kit: AW-NM191-uSD
- MIC2075-1YM单通道配电开关MM8典型应用
- Si91822 微功率 300mA CMOS 固定输出 LDO 稳压器的典型应用,具有错误标志/上电复位
- OpenSDA开源烧录调试器