Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_disassemble.html
CommitLineData
920dae64
AT
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>&nbsp;
8
9<h2>
10disassemble
11</h2>
12
13<h4>
14NAME
15</h4>
16<ul>
17disassemble - disassemble instructions
18</ul>
19
20<h4>SYNOPSIS</h4>
21<tt>
22<ul>
23disassemble [-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>
30Disassembles the instruction of the given address for the
31selected strand.
32The address must be word aligned.
33If the address is omitted the current program counter will be used.
34By default, <i>address</i> is virtual.
35<i>count</i> is the number of instructions to be
36disassembled starting from the given address, the default is 1.
37<p>
38By default, <i>address</i> is virtual and is translated in the context
39of the current cpu, specified by <a href="cmd_pselect.html">pselect</a>.
40This may be overriden by the <a href="flag_cpu.html">-cpu</a> flag.
41The -pa, -ra, and -va flags cause <i>address</i> to be interpreted as
42physical, real, and virtual, respectively.
43More details on these and the -context and -partition flags can
44be found <a href="flag_addressing_options.html">here</a>.
45
46</ul>
47
48<h4>RETURN VALUES</h4>
49<ul>
50Returns the disassembled instruction.
51</ul>
52
53<hr>
54</body>
55</html>