aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-avr/lds-mega.s
blob: 6f6e0df8f82f92b72c3f72b84fec8eac5f7bc4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
	.file	"lds-mega.s"
__tmp_reg__ = 0
	.text
.global	main
	.type	main, @function
main:
.L__stack_usage = 0
	lds r24,256
	mov __tmp_reg__,r24
	lsl r0
	sbc r25,r25
	sts myvar2+1,r25
	sts myvar2,r24
	ldi r24,0
	ldi r25,0
	ret
	.size	main, .-main
	.comm	myvar2,2,1
	.comm	myvar1,2,1