|Home > API reference > Target > disassemble()|
count = 1,
mode = None,
memory_space = None)
count=1 this method returns a 3-tuple of
|addr||is the address of the instruction.|
|opcode||is a string containing the instruction opcode at that address.|
|disass||is a string containing the disassembled representation of the instruction.|
count > 0, this method behaves like a generator function that yields one 3-tuple for each disassembled instruction.
Number of instructions to disassemble. Default is 1. This method might yield fewer than
count results if an error occurs during disassembly.
Disassembly mode to use. Must be either None, in which case the target's current mode is used, or one of the values returned by
get_disass_modes(). Default is None.
Memory space for
address. Must be the name of a valid memory space for this target or None. If None, the current memory space is used. Default is None.