Chapter 11: General-Purpose ASCII (GPA) Symbol File Format
General-Purpose ASCII (GPA) Symbol File Format
VARIABLES
[VARIABLES]
var_name
var_name
You can specify symbols for variables either by using the address of the
variable, the address and the size of the variable, or a range of
addresses occupied by the variable. If you specify only the address of a
variable, the size is assumed to be one byte.
A symbol representing the variable name.
var_name
The first address of the variable, in hexadecimal.
start
The last address of the variable, in hexadecimal.
end
This is optional, and indicates the size of the variable, in bytes, in
size
decimal.
Example
[VARIABLES]
subtotal
total
data_array
status_char
244
start [size]
start..end
40002000
4
40002004
4
40003000..4000302F
40002345
Solutions for CPU32