| 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>SPARC Architectural Model: User Commands</title> |
| 5 | </head> |
| 6 | <body bgcolor="#FFFFFF" LANG="en-US"> |
| 7 | <div STYLE="margin-bottom: 0cm"></div> |
| 8 | |
| 9 | <h2> |
| 10 | disassemble |
| 11 | </h2> |
| 12 | |
| 13 | <h4> |
| 14 | NAME |
| 15 | </h4> |
| 16 | <ul> |
| 17 | disassemble - disassemble instructions |
| 18 | </ul> |
| 19 | |
| 20 | <h4>SYNOPSIS</h4> |
| 21 | <tt> |
| 22 | <ul> |
| 23 | disassemble [-cpu <i>cpu_set</i>] [-pa|-ra|-va] |
| 24 | [-context_id <i>context</i>] [-partition-id <i>partition</i>] [<i>address</i> [<i>count</i>]] |
| 25 | </ul> |
| 26 | </tt> |
| 27 | |
| 28 | <h4>DESCRIPTION</h4> |
| 29 | <ul> |
| 30 | Disassembles the instruction of the given address for the |
| 31 | selected strand. |
| 32 | The address must be word aligned. |
| 33 | If the address is omitted the current program counter will be used. |
| 34 | By default, <i>address</i> is virtual. |
| 35 | <i>count</i> is the number of instructions to be |
| 36 | disassembled starting from the given address, the default is 1. |
| 37 | <p> |
| 38 | By default, <i>address</i> is virtual and is translated in the context |
| 39 | of the current cpu, specified by <a href="cmd_pselect.html">pselect</a>. |
| 40 | This may be overriden by the <a href="flag_cpu.html">-cpu</a> flag. |
| 41 | The -pa, -ra, and -va flags cause <i>address</i> to be interpreted as |
| 42 | physical, real, and virtual, respectively. |
| 43 | More details on these and the -context and -partition flags can |
| 44 | be found <a href="flag_addressing_options.html">here</a>. |
| 45 | |
| 46 | </ul> |
| 47 | |
| 48 | <h4>RETURN VALUES</h4> |
| 49 | <ul> |
| 50 | Returns the disassembled instruction. |
| 51 | </ul> |
| 52 | |
| 53 | <hr> |
| 54 | </body> |
| 55 | </html> |