Based variables

You can specify based variables by name only, in which case the implicit variable basing is used if available. This is:
  • The variable basing which was defined when the variable was declared. For some variables, such as parameters, this information is determined during the extraction process (by ASMLANGX).
  • The variable basing as redefined by an active assembler USING statement.

Alternatively, you can specify an explicit locating expression, making use of the -> locator operator.

There are limitations in the processing of some Assembler USING statements by ASMLANGX, which in turn limits ASMIDF. These USING statements are:
  • Dependent USINGs (labeled and unlabeled).
  • USINGs coded with an end value.
  • USINGs that do not cover the start of an area:
       USING MYAREA+4096,R8   - There is no USING MYAREA,R7