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:
parent
8adf5d7047
commit
5d73b1f18f
5 changed files with 16 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue