Xmega Application Note


iar.h File Reference

Assembler abstraction layer: IAR Assembler specifics. More...

Go to the source code of this file.

Defines

#define BSS_SECTION(name)   RSEG name:DATA:NOROOT
#define DATA_SECTION(name)   RSEG name:DATA:NOROOT
#define END_FILE()   END
#define END_FUNC(name)   ENDMOD
#define END_REPEAT()   ENDR
#define EXTERN_SYMBOL(name)   EXTERN name
#define FILL_BYTES(count)   DS8 count
#define FUNCTION(name)   iar_begin_func name, text_##name, 0, 0
#define hi(x)   HWRD x
#define L(name)   name
#define lo(x)   LWRD x
#define PUBLIC_FUNCTION(name)   iar_begin_func name, text_##name, 1, 0
#define PUBLIC_FUNCTION_SEGMENT(name, segment)   iar_begin_func_segm name, text_##name, 1, 0, segment
#define REPEAT(count)   REPT count
#define RODATA_SECTION(name)   RSEG name:CONST:NOROOT
#define SET_LOC(offset)   ORG offset
#define TEXT_SECTION(name)   RSEG name:CODE:NOROOT
#define WEAK_FUNCTION(name)   iar_begin_func name, text_##name, 1, 1
#define WEAK_FUNCTION_ALIAS(name, strong_name)   iar_weak_alias name, strong_name

Variables

ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO is_weak
MODULE name RSEG 
CODE
ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO 
is_public
ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO is_weak
MODULE name RSEG 
is_weak
ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO 
name
ld_addr MACRO reg
ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO 
sect
ld_addr MACRO sym mov LWRD sym
orh HWRD sym ENDM call MACRO
sym rcall sym ENDM
iar_begin_func MACRO is_weak
MODULE name RSEG segment
MODULE name RSEG 
segment

Detailed Description

Assembler abstraction layer: IAR Assembler specifics.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file iar.h.


Define Documentation

#define BSS_SECTION ( name   )     RSEG name:DATA:NOROOT

Definition at line 102 of file iar.h.

#define DATA_SECTION ( name   )     RSEG name:DATA:NOROOT

Definition at line 101 of file iar.h.

 
#define END_FILE (  )     END
#define END_FUNC ( name   )     ENDMOD

Definition at line 97 of file iar.h.

 
#define END_REPEAT (  )     ENDR
#define EXTERN_SYMBOL ( name   )     EXTERN name
#define FILL_BYTES ( count   )     DS8 count
#define FUNCTION ( name   )     iar_begin_func name, text_##name, 0, 0
#define hi (  )     HWRD x
#define L ( name   )     name
#define lo (  )     LWRD x
#define PUBLIC_FUNCTION ( name   )     iar_begin_func name, text_##name, 1, 0
#define PUBLIC_FUNCTION_SEGMENT ( name,
segment   )     iar_begin_func_segm name, text_##name, 1, 0, segment
#define REPEAT ( count   )     REPT count
#define RODATA_SECTION ( name   )     RSEG name:CONST:NOROOT

Definition at line 100 of file iar.h.

#define SET_LOC ( offset   )     ORG offset
#define TEXT_SECTION ( name   )     RSEG name:CODE:NOROOT

Definition at line 99 of file iar.h.

#define WEAK_FUNCTION ( name   )     iar_begin_func name, text_##name, 1, 1

Definition at line 94 of file iar.h.

#define WEAK_FUNCTION_ALIAS ( name,
strong_name   )     iar_weak_alias name, strong_name

Definition at line 95 of file iar.h.


Variable Documentation

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG CODE

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG is_public

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG is_weak

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG segment MODULE name RSEG strong_name PUBWEAK name name

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh reg

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG sect

Definition at line 41 of file iar.h.

ld_addr MACRO sym mov LWRD sym orh HWRD sym ENDM call MACRO sym rcall sym ENDM iar_begin_func MACRO is_weak MODULE name RSEG segment MODULE name RSEG segment

Definition at line 41 of file iar.h.

@DOC_TITLE@
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3