RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

*MemoryI

Programmer's Reference Manuals
» Part 17 - *Commands
» *Commands - Sorted By Name
» *MemoryI

*MemoryI

Use

This *Command disassembles memory into ARM or Thumb instructions.

Syntax

*MemoryI [P] [T] addr_|_reg1
*MemoryI [P] [T] addr_|_reg1 [+|-]addr2_|_reg2
*MemoryI [P] [T] addr_|_reg1 +|-addr2_|_reg2 +addr3_|_reg3

Parameters

P Specifies a physical rather than logical address (optional)
T Indicates that disassembly should be produced for the Thumb instruction set, not ARM
addr1_|_reg1 Address or register containing start of display (hexadecimal)
addr2_|_reg2 Address or register containing offset (hexadecimal)
addr3_|_reg3 Address or register containing offset (hexadecimal)

Notes

If only the start address is specified, then 24 instructions will be disassembled starting from this address.

If two addresses are specified, then it specifies the start and end address (unless specifying an offset by use of + or – symbols.

If three addresses are specified, then the second address is an offset from the start address, and the third address specifies the end address.

On kernels that support OS_Memory 14 and OS_Memory 15, the P flag causes physical memory to be mapped in temporarily (first flushing the cache to avoid inaccurate data being read). Otherwise, the system is assumed to be IOMD-based, where the 512MB of physical address space is mapped in at &80000000.

See also

  • Debugger_Disassemble?
  • Debugger_DisassembleThumb?
  • *Memory
  • *MemoryA
Revised on March 28, 2010 11:38:25 by W P Blatchley (147)? (127.0.0.1)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: *Commands - Sorted By Name, *Memory, *MemoryA

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys