Specifications

CAVR-4
198
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
-v2 Reserved for future
derivatives
The code space is physically limited to 128 Kbytes, and, if
possible, the RCALL/RJMP instructions are used for
reaching the code space. If that is not possible, CALL/JMP
is used. Function calls through function pointers use
ICALL/IJMP. 2 bytes are used for all function pointers.
Interrupt vectors are 4 bytes long. The compiler assumes
that the index registers X, Y, and Z are eight bits wide
when accessing the built-in SRAM. It also assumes that it is
not possible to attach any external memory to the
microcontroller and that it should therefore not generate
any constant segment in data space (_C segment). Instead
the compiler adds an implicit -y command line option. It
will also try to place all aggregate initializers in flash
memory, that is, the implicit --initializers_in_flash option is
also added to the command line.
-v3 ATmega16
ATmega32
ATmega64
ATmega103
ATmega128
ATmega161
ATmega162
ATmega163
ATmega168
ATmega169
ATmega323
FpSLic (at94k)
The code space is physically limited to 128 Kbytes, and, if
possible, the RCALL/RJMP instructions are used for
reaching the code space. If that is not possible, CALL/JMP
is used. Function calls through function pointers use
ICALL/IJMP. 2 bytes are used for all function pointers.
Interrupt vectors are 4 bytes long. The compiler assumes
that it is possible to have external memory and will
therefore generate _C segments.
-v4 Reserved for future
derivatives
The code space is physically limited to 128 Kbytes, and, if
possible, the RCALL/RJMP instructions are used for
reaching the code space. If that is not possible, CALL/JMP
is used. Function calls through function pointers use
ICALL/IJMP. 2 bytes are used for all function pointers.
Interrupt vectors are 4 bytes long. The compiler assumes
that it is possible to have external memory and will
therefore generate _C segments.
Generic
processor
option
Processor variant Description
Table 51: Processor variant command line options (Continued)