VA -- (Virtual Address) Displays the virtual address of a variable, routine, or program counter.
FORMAT
|----------------------------
| variable1, ..., variableN
VA |----------------------------
| -Routine routine-name
|----------------------------
REQUIRED ARGUMENTS
None. If you specify VA without arguments, DEBUG displays the current
symbolic location and the virtual program counter (PC).
OPTIONAL ARGUMENTS
variable Specify the names of one or more program variables or debugger
variables, and DEBUG returns their addresses.
-Routine To find the starting address of a particular routine, you can
specify one of the following three formats:
-Routine to get the address of the current
routine.
-Routine routine-name to get the address of the named
routine.
routine-name to get the address of the named
routine.
The "address" of a named routine is that of the first
instruction in the routine's procedure section.
DESCRIPTION
Use the VA command to determine the address of one or more variables or of
one routine.
It is not usually necessary to be concerned with memory addresses when you
use DEBUG. However, the need to inspect raw storage may occassionally arise.
The -VA command, combined with the ability to dereference an absolute address
as a pointer (see "pointers") provides a means of doing this.
The VA command cannot be abbreviated to V, nor expanded to VIRTUAL.
NOTE: You cannot mix routine-names and variables in the same VA command.
Also, you cannot specify more than one routine-name.
For full details, see Chapter 3 of the DOMAIN Language Level Debugger
Reference manual.