1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
.file "main.c"
__SP_H__ = 0x3e
__SP_L__ = 0x3d
__SREG__ = 0x3f
__tmp_reg__ = 0
__zero_reg__ = 1
.text
.global main
.type main, @function
main:
push r28
push r29
rcall .
rcall .
in r28,__SP_L__
in r29,__SP_H__
/* prologue: function */
/* frame size = 4 */
/* stack size = 6 */
.L__stack_usage = 6
ldd r24,Y+1
ldd r25,Y+2
cpi r24,1
cpc r25,__zero_reg__
breq .L3
cpi r24,2
cpc r25,__zero_reg__
breq .L4
rjmp .L2
.L3:
ldd r24,Y+3
ldd r25,Y+4
adiw r24,5
std Y+4,r25
std Y+3,r24
rjmp .L2
.L4:
ldd r24,Y+3
ldd r25,Y+4
adiw r24,15
std Y+4,r25
std Y+3,r24
nop
.L2:
ldi r24,0
ldi r25,0
/* epilogue start */
pop __tmp_reg__
pop __tmp_reg__
pop __tmp_reg__
pop __tmp_reg__
pop r29
pop r28
ret
.size main, .-main
.ident "GCC: (Fedora 4.7.2-1.fc18) 4.7.2" |
Partager