4 ; Superior Disassembly of ARM instructions
6 ; © 1994-1998 Straylight
9 ;----- Licensing note -------------------------------------------------------
11 ; This file is part of Straylight's Sledgehammer debugger.
13 ; Sledgehammer is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
18 ; Sledgehammer is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
23 ; You should have received a copy of the GNU General Public License
24 ; along with Sledgehammer. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 ;----- Overview -------------------------------------------------------------
37 ; --- diss_setOptions ---
39 ; On entry: R0 == new options field
43 ; Use: Sets up the new display options for the disassembly
45 IMPORT diss_setOptions
47 ; --- diss_address ---
49 ; On entry: R0 == address to start disassembly
53 ; Use: Initialises the disassembly to start at the given address
57 ; --- diss_disassemble ---
59 ; On entry: R0 == address of the instruction
61 ; On exit: R0 == pointer to buffer containing disassembly of
64 ; Use: Disassembles the instruction pointered to, and places
65 ; the resulting string in the returned buffer.
67 IMPORT diss_disassemble
69 ; --- diss_regTable ---
73 ; On exit: R0 == pointer to register table
75 ; Use: Returns a pointer to the register name table, so that the
76 ; assembler can get its grubby paws on it.
82 ; On entry: R12 == pointer to workspace
86 ; Use: Initialises the disassembler segment nicely.
90 ;----- That's all, folks ----------------------------------------------------