home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / Perl / Non-RPC / Docs / RISCOS-Library-Docs / ARM.pm < prev    next >
Text File  |  1999-04-17  |  819b  |  27 lines

  1. NAME
  2.     ARM -- perl module to disassemble an arm instruction.
  3.  
  4. SYNOPSIS
  5.         use Arm;
  6.         $mnemonic = disassemble($instr, $addr_of_instr);
  7.  
  8.  
  9. DESCRIPTION
  10.     This module provides a perl interface to
  11.     `Debugger_Dissassemble', allowing numeric ARM instructions to be
  12.     disassembled to text mnemonics. It is necessary to supply the
  13.     address of the instruction to correctly disassemble `PC'
  14.     relative instructions (*i.e.* `B', `BL', `LDR *x*,[PC,#..]' - if
  15.     this is omitted it will default to zero.
  16.  
  17.     Returns the textual mnemonic, or undefined on error.
  18.  
  19. BUGS
  20.     It is limited by the capabilities of the Debugger in the version
  21.     of RISC OS it is running under. For example 32 bit ARM
  22.     instructions will not be recognised on an A series machine.
  23.  
  24. AUTHOR
  25.     Nicholas Clark <nick@unfortu.net>
  26.  
  27.