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

@@ -2997,6 +2997,9 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
/* PC relative with immediate offset. */
bfd_vma offset = ((given & 0xf00) >> 4) | (given & 0xf);
if (NEGATIVE_BIT_SET)
offset = - offset;
if (PRE_BIT_SET)
{
/* Elide positive zero offset. */