PR 25041
opcodes * avr-dis.c (avr_operand): Fix construction of address for lds/sts
instructions.
gas * testsuite/gas/avr/pr25041.s: New test.
* testsuite/gas/avr/pr25041.d: New test driver.
+2019-10-09 Nick Clifton <nickc@redhat.com>
+
+ PR 25041
+ * testsuite/gas/avr/pr25041.s: New test.
+ * testsuite/gas/avr/pr25041.d: New test driver.
+
2019-10-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/tc-msp430.c (md_parse_option): Set lower_data_region_only
--- /dev/null
+#name: PR 25041 (correct generation of lds/sts addresses)
+#as: -m "attiny10"
+#target: avr-*-*
+#objdump: -Dm"avr:100"
+
+#...
+00000000 <_start>:
+ 0: 00 a0 lds r16, 0x80 ; 0x800080 <_start\+0x800080>
+ 2: 00 a8 sts 0x80, r16 ; 0x800080 <_start\+0x800080>
--- /dev/null
+
+_start:
+ lds r16, 0x80
+ sts 0x80, r16
+2019-10-09 Nick Clifton <nickc@redhat.com>
+
+ PR 25041
+ * avr-dis.c (avr_operand): Fix construction of address for lds/sts
+ instructions.
+
2019-10-07 Jan Beulich <jbeulich@suse.com>
* opcodes/i386-opc.tbl (movsd): Add Dword and IgnoreSize.
{
unsigned int val = ((insn & 0xf) | ((insn & 0x600) >> 5)
| ((insn & 0x100) >> 2));
+ if ((insn & 0x100) == 0)
+ val |= 0x80;
*sym = 1;
*sym_addr = val | 0x800000;
sprintf (buf, "0x%02x", val);