Back to index

cell-binutils  2.17cvs20070401
Defines
avr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AVR_ISA_1200   0x0001 /* In the beginning there was ... */
#define AVR_ISA_LPM   0x0002 /* device has LPM */
#define AVR_ISA_LPMX   0x0004 /* device has LPM Rd,Z[+] */
#define AVR_ISA_SRAM   0x0008 /* device has SRAM (LD, ST, PUSH, POP, ...) */
#define AVR_ISA_MEGA
#define AVR_ISA_MUL   0x0040 /* device has new core (MUL, FMUL, ...) */
#define AVR_ISA_ELPM   0x0080 /* device has >64K program memory (ELPM) */
#define AVR_ISA_ELPMX   0x0100 /* device has ELPM Rd,Z[+] */
#define AVR_ISA_SPM   0x0200 /* device can program itself */
#define AVR_ISA_BRK   0x0400 /* device has BREAK (on-chip debug) */
#define AVR_ISA_EIND   0x0800 /* device has >128K program memory (none yet) */
#define AVR_ISA_MOVW   0x1000 /* device has MOVW */
#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)
#define AVR_ISA_TINY2
#define AVR_ISA_M8
#define AVR_ISA_M603   (AVR_ISA_2xxx | AVR_ISA_MEGA)
#define AVR_ISA_M103   (AVR_ISA_M603 | AVR_ISA_ELPM)
#define AVR_ISA_M161
#define AVR_ISA_94K   (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | AVR_ISA_LPMX)
#define AVR_ISA_M323   (AVR_ISA_M161 | AVR_ISA_BRK)
#define AVR_ISA_M128   (AVR_ISA_M323 | AVR_ISA_ELPM | AVR_ISA_ELPMX)
#define AVR_ISA_ALL   0xFFFF
#define REGISTER_P(x)
#define AVR_UNDEF_P(x)
#define AVR_SKIP_P(x)
#define AVR_DISP0_P(x)   (((x) & 0xFC07) == 0x8000)

Define Documentation

#define AVR_DISP0_P (   x)    (((x) & 0xFC07) == 0x8000)

Definition at line 70 of file avr.h.

#define AVR_ISA_1200   0x0001 /* In the beginning there was ... */

Definition at line 20 of file avr.h.

Definition at line 35 of file avr.h.

Definition at line 44 of file avr.h.

#define AVR_ISA_ALL   0xFFFF

Definition at line 48 of file avr.h.

#define AVR_ISA_BRK   0x0400 /* device has BREAK (on-chip debug) */

Definition at line 29 of file avr.h.

#define AVR_ISA_EIND   0x0800 /* device has >128K program memory (none yet) */

Definition at line 30 of file avr.h.

#define AVR_ISA_ELPM   0x0080 /* device has >64K program memory (ELPM) */

Definition at line 26 of file avr.h.

#define AVR_ISA_ELPMX   0x0100 /* device has ELPM Rd,Z[+] */

Definition at line 27 of file avr.h.

#define AVR_ISA_LPM   0x0002 /* device has LPM */

Definition at line 21 of file avr.h.

#define AVR_ISA_LPMX   0x0004 /* device has LPM Rd,Z[+] */

Definition at line 22 of file avr.h.

Definition at line 41 of file avr.h.

Definition at line 46 of file avr.h.

#define AVR_ISA_M161
Value:

Definition at line 42 of file avr.h.

Definition at line 45 of file avr.h.

Definition at line 40 of file avr.h.

#define AVR_ISA_M8
Value:

Definition at line 38 of file avr.h.

#define AVR_ISA_MEGA
Value:
0x0020 /* device has >8K program memory (JMP and CALL
                            supported, no 8K wrap on RJMP and RCALL) */

Definition at line 24 of file avr.h.

#define AVR_ISA_MOVW   0x1000 /* device has MOVW */

Definition at line 31 of file avr.h.

#define AVR_ISA_MUL   0x0040 /* device has new core (MUL, FMUL, ...) */

Definition at line 25 of file avr.h.

Definition at line 34 of file avr.h.

#define AVR_ISA_SPM   0x0200 /* device can program itself */

Definition at line 28 of file avr.h.

#define AVR_ISA_SRAM   0x0008 /* device has SRAM (LD, ST, PUSH, POP, ...) */

Definition at line 23 of file avr.h.

Definition at line 33 of file avr.h.

#define AVR_ISA_TINY2
Value:

Definition at line 36 of file avr.h.

#define AVR_SKIP_P (   x)
Value:
(((x) & 0xFC00) == 0x1000 ||              \
  ((x) & 0xFD00) == 0x9900 || ((x) & 0xFC08) == 0xFC00)

Definition at line 65 of file avr.h.

#define AVR_UNDEF_P (   x)
Value:
(((x) & 0xFFED) == 0x91E5 ||              \
  ((x) & 0xFDEF) == 0x91AD || ((x) & 0xFDEF) == 0x91AE ||      \
  ((x) & 0xFDEF) == 0x91C9 || ((x) & 0xFDEF) == 0x91CA ||      \
  ((x) & 0xFDEF) == 0x91E1 || ((x) & 0xFDEF) == 0x91E2)

Definition at line 59 of file avr.h.

#define REGISTER_P (   x)
Value:
((x) == 'r'          \
                     || (x) == 'd'        \
                     || (x) == 'w'        \
                     || (x) == 'a'        \
                     || (x) == 'v')

Definition at line 50 of file avr.h.