PR gas/2626
* avr.h (AVR_ISA_2xxe): Define. * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 to AVR_ISA_2xxe. (avr_operand): Disallow post-increment addressing in the lpm instruction for the attiny26.
This commit is contained in:
parent
ab1579fdaf
commit
d669d37f8d
4 changed files with 24 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/* Opcode table for the Atmel AVR micro controllers.
|
||||
|
||||
Copyright 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
|
||||
Copyright 2000, 2001, 2004, 2006, 2008 Free Software Foundation, Inc.
|
||||
Contributed by Denis Chertykov <denisc@overta.ru>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -34,6 +34,8 @@
|
|||
#define AVR_ISA_TINY1 (AVR_ISA_1200 | AVR_ISA_LPM)
|
||||
#define AVR_ISA_PWMx (AVR_ISA_M8 | AVR_ISA_BRK)
|
||||
#define AVR_ISA_2xxx (AVR_ISA_TINY1 | AVR_ISA_SRAM)
|
||||
/* For the attiny26 which is missing LPM Rd,Z+. */
|
||||
#define AVR_ISA_2xxe (AVR_ISA_2xxx | AVR_ISA_LPMX)
|
||||
#define AVR_ISA_RF401 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX)
|
||||
#define AVR_ISA_TINY2 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX | \
|
||||
AVR_ISA_SPM | AVR_ISA_BRK)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue