The format is the address display format in which dbx displays the results of a query. The output produced depends on the current display format. To change the display format, supply a different format code.
The default format set at the start of each dbx session is X, which displays an address or value as a 32-bit word in hexadecimal. The following memory display formats are legal.
|
i |
Display as an assembly instruction. |
|
d |
Display as 16 bits (2 bytes) in decimal. |
|
D |
Display as 32 bits (4 bytes) in decimal. |
|
o |
Display as 16 bits (2 bytes) in octal. |
|
O |
Display as 32 bits (4 bytes) in octal. |
|
x |
Display as 16 bits (2 bytes) in hexadecimal. |
|
X |
Display as 32 bits (4 bytes) in hexadecimal. (default format) |
|
b |
Display as a byte in octal. |
|
c |
Display as a character. |
|
w |
Display as a wide character. |
|
s |
Display as a string of characters terminated by a null byte. |
|
W |
Display as a wide character. |
|
f |
Display as a single-precision floating point number. |
|
F, g |
Display as a double-precision floating point number. |
|
E |
Display as an extended-precision floating point number. |
|
ld, lD |
Display 32 bits (4 bytes) in decimal (same as D). |
|
lo, lO |
Display 32 bits (4 bytes) in octal (same as O). |
|
lx, LX |
Display 32 bits (4 bytes) in hexadecimal (same as X). |
|
Ld, LD |
Display 64 bits (8 bytes) in decimal. |
|
Lo, LO |
Display 64 bits (8 bytes) in octal. |
|
Lx, LX |
Display 64 bits (8 bytes) in hexadecimal. |