debugger.Assemble.LineAssemble


This function performs line assembly.

[Specification format]

debugger.Assemble.LineAssemble(address, code)

[Argument(s)]

Argument

Description

address

Specify the address at which to start assembly.

code

Specify the string to assemble.

[Return value]

If line assembly was performed successfully: True

If there was an error when performing line assembly: False

[Detailed description]

-

This function performs assembly of the string specified by code from the address specified by address.

-

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

[Example of use]

>>>debugger.Assemble.Disassemble("main")
0x00004088  F545    br _TestInit+0x8e
>>>debugger.Assemble.Disassemble(".")
0x0000408A  0A5A    mov 0xa, r11
>>>debugger.Assemble.LineAssemble("main", "mov r13, r12")
True
>>>debugger.Assemble.Disassemble("main", 1, False)
0x00004088  mov r13, r12
>>>