disassemble

Disassemble a specified section of memory.

disassemble [OPTIONS] [address[,address]|[,+length]]

Default is the function surrounding the pc of the selected frame.

  • With a /m modifier, source lines are included (if available).
  • With a /r modifier, raw instructions in hex are included.
  • The /isa:<ISA> parameter can be used to force the ISA used to disassemble. (“info isa” command lists the supported ISA).

With a single argument, the function surrounding that address is dumped.

Two arguments (separated by a comma) are taken as a range of memory to dump, in the form of “start , end”, or “start , +length”.