You are on page 1of 1

Data Definitions

__FILE__
Syntax:

__file__

Elements:

None

Purpose:

The pre-processor identifier is replaced at compile time with


the filename of the file being compiled.

Examples:

if(index>MAX_ENTRIES)
printf("Too many entries, source file: "
__FILE__ " at line " __LINE__ "\r\n");

Example Files:

assert.h

Also See:

__line__

#FILL_ROM
Syntax:

#fill_rom value

Elements:

value is a constant 16-bit value

Purpose:

This directive specifies the data to be used to fill unused


ROM locations.

Examples:

#fill_rom 0x36

Example Files:

None

Also See:

#rom

41

You might also like