Displaying raw storage in C++
A
char *
variable ptr
can point
to a piece of storage that contains printable characters. To display
the first 20 characters, enter;
LIST STORAGE(*ptr,20)
If
the string is null terminated, you can also use an interactive function
call on the command line as shown in this example:
puts(ptr) ;
You can also display storage based on offset. For example, to display
10 bytes at an offset of 2 from location 20CD0, use the following
command:
LIST STORAGE(0x20CD0,2,10);
Refer to the following topics for more information related to the material discussed in this topic.