GAS LISTING /tmp/ccmCCeNx.s page 1 1 .file "scanf.c" 2 __SP_H__ = 0x3e 3 __SP_L__ = 0x3d 4 __SREG__ = 0x3f 5 __RAMPZ__ = 0x3b 6 __tmp_reg__ = 0 7 __zero_reg__ = 1 8 .section .text.scanf,"ax",@progbits 9 .global scanf 10 .type scanf, @function 11 scanf: 12 0000 CF93 push r28 13 0002 DF93 push r29 14 0004 CDB7 in r28,__SP_L__ 15 0006 DEB7 in r29,__SP_H__ 16 /* prologue: function */ 17 /* frame size = 0 */ 18 /* stack size = 2 */ 19 .L__stack_usage = 2 20 0008 AE01 movw r20,r28 21 000a 4A5F subi r20,-6 22 000c 5F4F sbci r21,-1 23 000e FA01 movw r30,r20 24 0010 6191 ld r22,Z+ 25 0012 7191 ld r23,Z+ 26 0014 AF01 movw r20,r30 27 0016 8091 0000 lds r24,__iob 28 001a 9091 0000 lds r25,__iob+1 29 001e 0E94 0000 call vfscanf 30 /* epilogue start */ 31 0022 DF91 pop r29 32 0024 CF91 pop r28 33 0026 0895 ret 34 .size scanf, .-scanf 35 .ident "GCC: (GNU) 5.3.0" GAS LISTING /tmp/ccmCCeNx.s page 2 DEFINED SYMBOLS *ABS*:0000000000000000 scanf.c /tmp/ccmCCeNx.s:2 *ABS*:000000000000003e __SP_H__ /tmp/ccmCCeNx.s:3 *ABS*:000000000000003d __SP_L__ /tmp/ccmCCeNx.s:4 *ABS*:000000000000003f __SREG__ /tmp/ccmCCeNx.s:5 *ABS*:000000000000003b __RAMPZ__ /tmp/ccmCCeNx.s:6 *ABS*:0000000000000000 __tmp_reg__ /tmp/ccmCCeNx.s:7 *ABS*:0000000000000001 __zero_reg__ /tmp/ccmCCeNx.s:11 .text.scanf:0000000000000000 scanf UNDEFINED SYMBOLS __iob vfscanf