DisassembleInfo


This class holds disassembly information (return value of the debugger.Assemble.Disassemble function).

[Type]

class DisassembleInfo:
        Address = 0
        Code = None
        Mnemonic = None

[Variable]

Variable

Description

Address

This holds the address.

Code

This holds code information as a collection of bytes.

Mnemonic

This holds mnemonic information.

[Detailed description]

-

DisassembleInfo is a class, and it is the structure of the return value from the debugger.Assemble.Disassemble function.

[Example of use]

>>>info = debugger.Assemble.Disassemble("main", 4)      ...Disassemble command
0x000002DC      B51D      br _main+0x36
0x000002DE      0132      mov0x1, r6
0x000002E0      60FF3800  jarl _func_static1, lp
0x000002E4      63570100  st.w r10, 0x0[sp]
>>>print info[0].Address
732
>>>print info[0].Code[0]
181
>>>print info[0].Code[1]
29
>>>print Mnemonic
br _main+0x36
>>>print info[3].Address
740
>>>print info[3].Code[0]
99
>>>print info[3].Code[1]
87
>>>print info[3].Code[2]
1
>>>print info[3].Code[3]
0
>>>print info[3].Mnemonic
st.w r10, 0x0[sp]
>>>