13.13.2. Formatting the display of memory contents

The display format used for viewing memory contents varies depending on the data types supported by your target processor.

To change the display format for viewing the memory contents, select the required format from the Format of fields list in the Memory view toolbar. The options available are:

ASCII

Displays the memory values in ASCII format.

The ASCII format is useful if, for example, you are examining the copying of strings and character arrays by transfer in and out of registers.

Any non-printable value is represented by a period (.).

Binary

Displays memory values in binary format including leading zeros.

Decimal

Displays the memory contents as negative or positive values where the maximum absolute value is half the maximum unsigned decimal value.

Disassembly

Displays the memory contents as disassembled code. The disassembly is displayed in a single column. The Number of columns list and the Size of fields list in the toolbar are disabled. Also, if you have the ASCII view displayed, it is hidden until you select another format.

To change the disassembly format:

  1. Right-click on a line of disassembly in the DISASSEMBLY column to display the context menu.

  2. Select the required format from the Disassembly Format submenu. The options available are:

    • Auto (ARM, Thumb, Bytecode, Literals)

    • ARM

    • Thumb

    • Bytecode

    • Thumb-2EE.

Floating point

Displays memory values in floating point format, depending on the currently selected size:

4 bytes

Displays values in floating point IEEE format, occupying four bytes, for example:

2.5579302e-041
8 bytes

Displays values in floating point IEEE format, occupying eight bytes, for example:

4.71983561663e+164
Any other size

This format cannot be displayed, and the following error is displayed in each memory location:

Error: The requested format is not available

Change the size to four or eight bytes as required.

Hexadecimal

Displays memory values in hexadecimal format including leading zeros, together with the 0x prefix.

This is the default display format.

Octal

Displays memory values in octal format including leading zeros, together with the o prefix.

Figure 13.36 shows an example Memory view displaying disassembly format.

Figure 13.36. Format of fields list in the Memory view

Format of fields list in the Memory view

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential