Predefined Symbols

IAS provides three predefined symbols. Use them in the assembly language file:

@line

is an integer specifying the current line number.
Usage example:
data8 @line

@filename

is a string specifying the current file name.
Usage example:
stringz @filename

@filepath

is a string specifying the current path and filename.
Usage example:
stringz @filepath