1 #name: AVR (avr51) check disassembly if symbolic name present
2 #as: -mavr51
3 #ld: -mavr51
4 #source: lds-mega.s
5 #objdump: -d
6 #target: avr-*-*
7 
8 .*:     file format elf32-avr
9 
10 
11 Disassembly of section .text:
12 
13 00000000 <main>:
14    0:	80 91 00 01 	lds	r24, 0x0100	; 0x800100 <_edata>
15    4:	08 2e       	mov	r0, r24
16    6:	00 0c       	add	r0, r0
17    8:	99 0b       	sbc	r25, r25
18    a:	90 93 03 01 	sts	0x0103, r25	; 0x800103 <myvar2\+0x1>
19    e:	80 93 02 01 	sts	0x0102, r24	; 0x800102 <myvar2>
20   12:	80 e0       	ldi	r24, 0x00	; 0
21   14:	90 e0       	ldi	r25, 0x00	; 0
22   16:	08 95       	ret
23 
24