Agilent Technologies B Weather Radio User Manual


 
167
Chapter 3: Reference
The Symbols Tab
NOTE: If you use section definitions in a GPA symbol file, any subsequent function or
variable definitions must be within the address ranges of one of the defined
sections. Functions and variables that are not within the range are ignored.
Format
[SECTIONS]
section_name start..end attribute
section_name A symbol representing the name of the section.
start The first address of the section, in hexadecimal.
end The last address of the section, in hexadecimal.
attribute (optional) Attribute may be one of the following:
NORMAL (default) - The section is a normal, relocatable section, such as
code or data.
NONRELOC - The section contains variables or code that cannot be
relocated. In other words, this is an absolute segment.
Example
[SECTIONS]
prog 00001000..00001FFF
data 00002000..00003FFF
display_io 00008000..0000801F NONRELOC
FUNCTIONS
Use FUNCTIONS to define symbols for program functions, procedures
or subroutines.
Format
[FUNCTIONS]
func_name start..end
func_name A symbol representing the function name.
start The first address of the function, in hexadecimal.
end The last address of the function, in hexadecimal.
Example
[FUNCTIONS]
main 00001000..00001009
test 00001010..0000101F