forked from Imagelibrary/binutils-gdb
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user