Skip to content

Instantly share code, notes, and snippets.

@farcaller
Created April 17, 2012 15:48
Show Gist options
  • Select an option

  • Save farcaller/2407003 to your computer and use it in GitHub Desktop.

Select an option

Save farcaller/2407003 to your computer and use it in GitHub Desktop.
% bundle exec bin/indis-dis ../indis-bundle/spec/fixtures/single-object.o _add
00000000 e92d4080 PUSH {r7, lr}
00000004 e1a0700d MOV r7, sp
00000008 e24dd00c SUB sp, sp, #12
0000000c e5070004 STR r0, [r7, #-4]
00000010 e58d1004 STR r1, [sp, #4]
00000014 e5171004 LDR r1, [r7, #-4]
00000018 e59d2004 LDR r2, [sp, #4]
0000001c e59f0024 LDR r0, [pc, #36] ; value: DCD 00000044
00000020 e08f0000 ADD r0, pc, r0
00000024 ebfffff5 BL 0x0 ; branch_to_sym: #<Indis::Symbol _add at 0>
00000028 e5171004 LDR r1, [r7, #-4]
0000002c e59d2004 LDR r2, [sp, #4]
00000030 e0811002 ADD r1, r1, r2
00000034 e58d0000 STR r0, [sp]
00000038 e1a00001 MOV r0, r1
0000003c e1a0d007 MOV sp, r7
00000040 e8bd4080 POP {r7, lr}
00000044 e12fff1e UNK E12FFF1E
00000048 00000044 DCD 00000044 ; loaded_by: LDR r0, [pc, #36]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment