Follow the steps below to edit instructions.
Double-click the instruction to edit or select [Edit Disassemble] from the context menu after moving the caret to the instruction to edit.
Use keyboard to directly edit the instructions.
Press the [Enter] key to line assemble the edited instructions after editing. The code is automatically written to the memory.
If the edited instruction is invalid, the instruction is shown in red and will not be written to the memory.
If there is a space because of overwriting the displayed result of disassembling by another instruction, its byte number is automatically compensated with nop instruction as follows:
Overwriting the prepare instruction (8-byte instruction) with the jarl instruction (4-byte instruction) |
Overwriting the mov instruction (2-byte instruction) with the jarl instruction (4-byte instruction) |
0432 mov 0x4, r6 1d38 mov r29, r7 8f071b0effff0000 prepare r20, r21, r22, 0x1c, 0x0000ffff 0132 mov 0x1, r6 |
|
0432 mov 0x4, r6 bfffe265 jarl 0x100, lp 0000 nop 0000 nop 0000 nop 0132 mov 0x1, r6 |
Handling the prepare instruction and dispose instruction |
When displaying the results of disassembling the prepare instruction and dispose instruction in the Disassemble panel, the corresponding register names for the operand "list12" are displayed instead of its values as shown in the following examples.
When the code is "0x90, 0x07, 0xbb, 0xaa 0xff, 0xff, 0xff, 0xff" (8-byte prepare instruction) |
Note, however, that it is possible to specify both the value and the register name for the operand "list12" when line assembling the prepare instruction and dispose instruction.
In both of the cases (1) and (2) below, the same set of values "0x91, 0x07, 0xe1, 0xff" will be generated as a result of line assembly. |
In both of the cases (1) and (2) below, the same set of values "0xbe, 0x07, 0xbb, 0xaa 0xff, 0xff, 0xff, 0x7f" will be generated as a result of line assembly. |
In both of the cases (1) and (2) below, the same set of values "0x51, 0x06, 0xe0, 0xff" will be generated as a result of line assembly. |
In both of the cases (1) and (2) below, the same set of values "0x50, 0x06, 0xaa, 0xaa" will be generated as a result of line assembly. |