Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_disassemble.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>SPARC Architectural Model: User Commands</title>
</head>
<body bgcolor="#FFFFFF" LANG="en-US">
<div STYLE="margin-bottom: 0cm"></div>&nbsp;
<h2>
disassemble
</h2>
<h4>
NAME
</h4>
<ul>
disassemble - disassemble instructions
</ul>
<h4>SYNOPSIS</h4>
<tt>
<ul>
disassemble [-cpu <i>cpu_set</i>] [-pa|-ra|-va]
[-context_id <i>context</i>] [-partition-id <i>partition</i>] [<i>address</i> [<i>count</i>]]
</ul>
</tt>
<h4>DESCRIPTION</h4>
<ul>
Disassembles the instruction of the given address for the
selected strand.
The address must be word aligned.
If the address is omitted the current program counter will be used.
By default, <i>address</i> is virtual.
<i>count</i> is the number of instructions to be
disassembled starting from the given address, the default is 1.
<p>
By default, <i>address</i> is virtual and is translated in the context
of the current cpu, specified by <a href="cmd_pselect.html">pselect</a>.
This may be overriden by the <a href="flag_cpu.html">-cpu</a> flag.
The -pa, -ra, and -va flags cause <i>address</i> to be interpreted as
physical, real, and virtual, respectively.
More details on these and the -context and -partition flags can
be found <a href="flag_addressing_options.html">here</a>.
</ul>
<h4>RETURN VALUES</h4>
<ul>
Returns the disassembled instruction.
</ul>
<hr>
</body>
</html>