| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- GAS LISTING /tmp/ccekWjom.s page 1
- 1 .file "calloc_dbg.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.dbg_calloc,"ax",@progbits
- 9 .global dbg_calloc
- 10 .type dbg_calloc, @function
- 11 dbg_calloc:
- 12 0000 0F93 push r16
- 13 0002 1F93 push r17
- 14 0004 CF93 push r28
- 15 0006 DF93 push r29
- 16 /* prologue: function */
- 17 /* frame size = 0 */
- 18 /* stack size = 4 */
- 19 .L__stack_usage = 4
- 20 0008 FB01 movw r30,r22
- 21 000a BA01 movw r22,r20
- 22 000c E89F mul r30,r24
- 23 000e 8001 movw r16,r0
- 24 0010 E99F mul r30,r25
- 25 0012 100D add r17,r0
- 26 0014 F89F mul r31,r24
- 27 0016 100D add r17,r0
- 28 0018 1124 clr r1
- 29 001a A901 movw r20,r18
- 30 001c C801 movw r24,r16
- 31 001e 0E94 0000 call dbg_malloc
- 32 0022 EC01 movw r28,r24
- 33 0024 0097 sbiw r24,0
- 34 0026 01F0 breq .L2
- 35 0028 A801 movw r20,r16
- 36 002a 60E0 ldi r22,0
- 37 002c 70E0 ldi r23,0
- 38 002e 0E94 0000 call memset
- 39 .L2:
- 40 0032 CE01 movw r24,r28
- 41 /* epilogue start */
- 42 0034 DF91 pop r29
- 43 0036 CF91 pop r28
- 44 0038 1F91 pop r17
- 45 003a 0F91 pop r16
- 46 003c 0895 ret
- 47 .size dbg_calloc, .-dbg_calloc
- 48 .ident "GCC: (GNU) 5.3.0"
- GAS LISTING /tmp/ccekWjom.s page 2
- DEFINED SYMBOLS
- *ABS*:0000000000000000 calloc_dbg.c
- /tmp/ccekWjom.s:2 *ABS*:000000000000003e __SP_H__
- /tmp/ccekWjom.s:3 *ABS*:000000000000003d __SP_L__
- /tmp/ccekWjom.s:4 *ABS*:000000000000003f __SREG__
- /tmp/ccekWjom.s:5 *ABS*:000000000000003b __RAMPZ__
- /tmp/ccekWjom.s:6 *ABS*:0000000000000000 __tmp_reg__
- /tmp/ccekWjom.s:7 *ABS*:0000000000000001 __zero_reg__
- /tmp/ccekWjom.s:11 .text.dbg_calloc:0000000000000000 dbg_calloc
- UNDEFINED SYMBOLS
- dbg_malloc
- memset
|