U (Unassemble)

Syntax

U [[context]][[address]]

Parameters

context

Any legal context operator.

address

Shows unassembled instructions starting at this address. If omitted, unassemble at the current CS:IP address.

Description

The Unassemble (U) command displays assembly-language code beginning at
the specified address in the active Source window. If you omit an address, the
command uses the current CS:IP address. The command changes the Source window to Assembly mode.

Setting the Source window display mode to Assembly and giving the Unassemble command with no arguments causes the code to scroll to the next page of assembly-language instructions.

Note:

If you specify an address that is within an instruction or within program data, CodeView will still attempt to disassemble and display instructions. Instructions that CodeView cannot disassemble are shown as ???.

Mouse and Keyboard

As an alternative to typing the U command, you can display assembly-language instructions using the following shortcuts:

Click the <F3=Src1 Fmt> or <F3=Src2 Fmt> buttons until the active Source window is in Assembly mode.

Press F3 until the Source window is in Assembly mode.

From the Options menu, choose Source Window. Then set the display mode to Assembly.

Note that with these shortcuts, you cannot specify an address to start showing unassembled instructions.

Example

The following example sets the mode of the Source window to Assembly and displays assembly-language instructions beginning at address 0x7:0x11.

>U 0x7:0x11

>