debugger.Assemble.Disassemble


This function performs disassembly.

[Specification format]

debugger.Assemble.Disassemble(address, number = 1, code = True)

[Argument(s)]

Argument

Description

address

Specify the address at which to start disassembly.

number

Specify the number of lines to display (default: 1).

code

Specify whether to display instruction codes.

True: Display instruction codes (default).

False: Do not display instruction codes.

[Return value]

List of result of disassembly (see the DisassembleInfo property for detail)

[Detailed description]

-

This function performs disassembly from the address specified by address.

-

If number is specified, the specified number of lines are displayed.

-

If code is set to "False", then instruction codes are not displayed.

-

If "." is specified in address, then it is interpreted as the address following the last address disassembled.

[Example of use]

>>>debugger.Assemble.Disassemble("main")
0x00004088  F545    br _TestInit+0x8e
>>>debugger.Assemble.Disassemble("main", 2)
0x00004088  F545    br _TestInit+0x8e
0x0000408A  0A5A    mov 0xa, r11
>>>debugger.Assemble.Disassemble("main", 5, False)
0x00004088  br _TestInit+0x8e
0x0000408A  mov 0xa, r11
0x0000408C  movea 0x19, r0, r13
0x00004090  mov r13, r12
0x00004092  movhi 0xffff, gp, r1
>>>