| |||
| Home > RealView Debugger Predefined Macros > Alphabetical predefined macro reference > dword | |||
Returns an unsigned long value from a specified address.
unsigned long dword (addr) void *addr;
where:
addrThe address containing the value to be returned.
This macro returns an unsigned long value, contained within
four bytes of memory, corresponding to the memory contents at the
location specified by addr. The dword macro
uses the indirection operator to obtain the value.
The argument default type is specified by using the OPTION command:
OPTION radix = [ decimal | hex ]
To display the contents of the hexadecimal address 0x8338,
enter the following on the command line:
PRINTVALUE dword(0x8338)