PR binutils/12329

* avr-dis.c (avr_operand): Fix disassembly of ELPM, LPM and SPM
	insns using post-increment addressing.

	* avr.h (AVR_ISA_AVR6): Fix typo, adding AVR_ISA_SPMX.
This commit is contained in:
Nick Clifton 2011-07-01 16:11:27 +00:00
parent 8adf5d7047
commit 5d73b1f18f
5 changed files with 16 additions and 2 deletions

View file

@ -125,7 +125,8 @@ avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constra
{
if (*s == '+')
{
*buf++ = '+';
if (insn & (1 << (15 - (s - opcode_str))))
*buf++ = '+';
break;
}
}