Disassembler makes no difference between LPM Rx, Z and LPM Rx, Z+

View: New views
3 Messages — Rating Filter:   Alert me  

Disassembler makes no difference between LPM Rx, Z and LPM Rx, Z+

by Andrey Demenev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

andrey@debian:~$ cat test2.S
lpm R9, Z+
lpm R9, Z
andrey@debian:~$ avr-as -mmcu=atmega8 -o test2.o test2.S
andrey@debian:~$ avr-objdump -d test2.o

test2.o:     file format elf32-avr

Disassembly of section .text:

00000000 <.text>:
   0:   95 90           lpm     r9, Z+
   2:   94 90           lpm     r9, Z+
andrey@debian:~$


Note that assembler genarates correct code, but disassembler shows
same mnemonics for different instructions


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: Disassembler makes no difference between LPM Rx, Z and LPM Rx, Z+

by Joerg Wunsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrey Demenev <demenev@...> wrote:

> Note that assembler genarates correct code, but disassembler shows
> same mnemonics for different instructions

Please file a bug report with the GNU binutils project then.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: Disassembler makes no difference between LPM Rx, Z and LPM Rx, Z+

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From:
> avr-gcc-list-bounces+eric.weddington=atmel.com@...
> [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
> org] On Behalf Of Joerg Wunsch
> Sent: Sunday, August 23, 2009 12:24 AM
> To: avr-gcc-list@...
> Subject: Re: [avr-gcc-list] Disassembler makes no difference
> between LPM Rx,Z and LPM Rx, Z+
>
> Andrey Demenev <demenev@...> wrote:
>
> > Note that assembler genarates correct code, but disassembler shows
> > same mnemonics for different instructions
>
> Please file a bug report with the GNU binutils project then.

There's already a bug report about this on the WinAVR project.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list