.cpu ep9312 .fpu maverick .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 18, 4 .file "alignment.c" .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "Usage: aligment n (0-8)\012\000" .align 2 .LC1: .ascii "Got %g\012\000" .text .align 2 .global main .type main, %function main: @ Function supports interworking. @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 str lr, [sp, #-4]! cmp r0, #2 sub sp, sp, #4 bne .L2 ldr r0, [r1, #4] bl atoi cmp r0, #0 blt .L2 cmp r0, #8 ble .L3 .L2: ldr r2, .L6 ldr r0, .L6+4 ldr r3, [r2, #0] mov r1, #1 mov r2, #24 bl fwrite mov r0, #1 bl exit .L3: ldr r3, .L6+8 mov r2, #1 strb r2, [r3, #7] add r3, r3, r0 #APP @ 28 "alignment.c" 1 cfldrd mvd4, [r3] @ 0 "" 2 ldr r0, .L6+12 cfmvrdl r2, mvd4 cfmvrdh r3, mvd4 bl printf mov r0, #0 bl exit .L7: .align 2 .L6: .word stderr .word .LC0 .word buf .word .LC1 .size main, .-main .comm buf,16,8 .ident "GCC: (GNU) 4.3.2" .section .note.GNU-stack,"",%progbits