Skip to content

Instantly share code, notes, and snippets.

@ajrouvoet
Created February 10, 2015 16:00
Show Gist options
  • Save ajrouvoet/4ad2a02a19b182d31d77 to your computer and use it in GitHub Desktop.
Save ajrouvoet/4ad2a02a19b182d31d77 to your computer and use it in GitHub Desktop.
out
src/kernel.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <kernel_main>:
0: e3a0083f mov r0, #4128768 ; 0x3f0000
4: e59f2040 ldr r2, [pc, #64] ; 4c <__delay_22+0xc>
8: e592c000 ldr ip, [r2]
c: e5921004 ldr r1, [r2, #4]
10: e59c3000 ldr r3, [ip]
14: e5922008 ldr r2, [r2, #8]
18: e3833602 orr r3, r3, #2097152 ; 0x200000
1c: e58c3000 str r3, [ip]
20: e5913000 ldr r3, [r1]
24: e3833902 orr r3, r3, #32768 ; 0x8000
28: e5813000 str r3, [r1]
0000002c <__delay_18>:
2c: e2503001 subs r3, r0, #1
30: 1afffffd bne 2c <__delay_18>
34: e5923000 ldr r3, [r2]
38: e3833902 orr r3, r3, #32768 ; 0x8000
3c: e5823000 str r3, [r2]
00000040 <__delay_22>:
40: e2503001 subs r3, r0, #1
44: 1afffffd bne 40 <__delay_22>
48: eafffff4 b 20 <kernel_main+0x20>
4c: 00000000 .word 0x00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment