Reference: addr1/
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T22:02:22Z

#

| Chapter 20 Program Debugging |

## `addr1`/

    addr1/

Print contents of memory starting at the address `addr1`. Stop printing when a second address is reached or when `n` items have been printed, as shown by the syntax lines below:

> `addr1`, `addr2`/[`mode`] `addr1`/[`n`] [`mode`]

`mode` specifies the output format. Default is X. Addresses may be `.` (next address), `&``addr` (symbolic address), and `$r` `n` (register `n`). Addresses may include the symbols +, -, and `*` (indirection).

### Mode

b

  Print a byte in octal.

c

  Print a byte as a character.

d

  Print a short word in decimal.

D

  Print a long word in decimal.

f

  Print a single-precision real number.

F

  Print a double-precision real number.

i

  Print a machine instruction.

o

  Print a short word in octal.

O

  Print a long word in octal.

s

  Print a string as characters terminated by a null byte.

x

  Print a short word in hexadecimal.

X

  Print a long word in hexadecimal.

Reference: search |  | Reference: address