Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 1.50 KB | None | 0 0
  1.         .arch armv6
  2.         .eabi_attribute 27, 3
  3.         .eabi_attribute 28, 1
  4.         .fpu vfp
  5.         .eabi_attribute 20, 1
  6.         .eabi_attribute 21, 1
  7.         .eabi_attribute 23, 3
  8.         .eabi_attribute 24, 1
  9.         .eabi_attribute 25, 1
  10.         .eabi_attribute 26, 2
  11.         .eabi_attribute 30, 6
  12.         .eabi_attribute 18, 4
  13.         .file   "tmp.c"
  14.         .section        .rodata
  15.         .align  2
  16. .LC0:
  17.         .ascii  "A: %d, B: %d\012\000"
  18.         .text
  19.         .align  2
  20.         .global f
  21.         .type   f, %function
  22. f:
  23.         @ args = 0, pretend = 0, frame = 8
  24.         @ frame_needed = 1, uses_anonymous_args = 0
  25.         stmfd   sp!, {fp, lr}
  26.         add     fp, sp, #4
  27.         sub     sp, sp, #8
  28.         str     r0, [fp, #-8]
  29.         str     r1, [fp, #-12]
  30.         ldr     r3, .L2
  31.         mov     r0, r3
  32.         bl      printf
  33.         sub     sp, fp, #4
  34.         ldmfd   sp!, {fp, pc}
  35. .L3:
  36.         .align  2
  37. .L2:
  38.         .word   .LC0
  39.         .size   f, .-f
  40.         .align  2
  41.         .global main
  42.         .type   main, %function
  43. main:
  44.         @ args = 0, pretend = 0, frame = 0
  45.         @ frame_needed = 1, uses_anonymous_args = 0
  46.         stmfd   sp!, {fp, lr}
  47.         add     fp, sp, #4
  48.         mov     r0, #1
  49.         mov     r1, #2
  50.         bl      f
  51.         mov     r3, #0
  52.         mov     r0, r3
  53.         ldmfd   sp!, {fp, pc}
  54.         .size   main, .-main
  55.         .ident  "GCC: (Debian 4.6.3-14+rpi1) 4.6.3"
  56.         .section        .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement