Working with Macros
372 SPU 780 01EMAN May 2002 215
Using Macro
Parameters
While editing macro projects, you can assign macro parameters in place of register
addresses or symbols. These are the addresses that will change for each insertion
into the main project.
Macro parameters use this format: @txx
The "t" represents the type of address: 0 for 0xxxx, 1 for 1xxxx, 3 for 3xxxx and 4
for 4xxxx.
The "xx" represents the parameter number, which can be from 1 to 50.
For example, a macro parameter of @304 would represent the fourth programmable
address of the form 3xxxx. Note that @304 and @404 refer to different parameters
and are mapped to totally different addresses.
You can have a total of 200 parameters in your macro project - 50 for each address
type.