Debugging Tools for Windows
u (Unassemble)
The u command displays an assembly translation of the specified program code in memory.
Do not confuse this command with the ~u (Unfreeze Thread) command.
Syntax
u[b] Range
u[b] Address
u[b]
Parameters
- Range
- Specifies the memory range that contains the instructions to disassemble. For more information about the syntax, see Address and Address Range Syntax. If you use the b flag, you must specify Range by using the "Address LLength" syntax, not the "Address1 Address2" syntax.
- Address
- Specifies the beginning of the memory range to disassemble. Eight instructions (on an x86-based processor) or nine instructions (on an Itanium-based processor) are unassembled. For more information about the syntax, see Address and Address Range Syntax.
- b
- Determines the memory range to disassemble by counting backward. If ub Address is used, the disassembled range will be the eight or nine byte range ending with Address. If a range is specifed using the syntax ub Address LLength, the disassembled range will be the range of the specified length ending at Address.
Environment
| Modes | User mode, kernel mode |
| Targets | Live, crash dump |
| Platforms | All |
Comments
If you do not specify a parameter for the u command, the disassembly begins at the current address and extends eight instructions (on an x86-based processor) or nine instructions (on an Itanium-based processor). When you use ub without a parameter, the disassembly includes the eight or nine instructions before the current address.
Do not confuse this command with the up (Unassemble from Physical Memory). The u command disassembles only virtual memory, while the up command disassembles only physical memory.
Additional Information
For more information about assembly debugging and related commands, see Debugging in Assembly Mode.