Skip to content

Commit f1af18d

Browse files
committed
Add/rename set disasmflavor
1 parent d685b21 commit f1af18d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

docs/commands/set/disasmflavor.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.. index:: set; disasmflavor
2+
.. _set_disasmflavor:
3+
4+
Set DisasmFlavor
5+
----------------
6+
7+
**set disasmflavor** {**classic** | **extended** | **bytes** | **extended-bytes**}
8+
9+
Set the style of format to use in disassembly:
10+
11+
``classic``:
12+
has fields: *line* *marker* *offset*, and *opcode operand*
13+
14+
``extended``:
15+
like ``classic``, but we try harder to get operand information from previous instructions
16+
17+
``bytes``:
18+
like classic but we show the instruction bytes after the offset
19+
20+
``extended-bytes``
21+
``bytes`` format along with *extended* format
22+
23+
24+
Set disasmflavor Examples:
25+
++++++++++++++++++++++++++
26+
27+
::
28+
set asmfmt extended # this is the default
29+
set asmfmt classic # no highlight
30+
31+
.. seealso::
32+
33+
:ref:`show disasmflavor <show_disasmflavor>`

0 commit comments

Comments
 (0)