I want to get an instruction with IDAPython by address of this instruction.

For example from mov r0 r1 I want to get only mov.

How can I do that with IDAPython?

1 Answer 1


To get the full disassembly, you can use:


To get the instruction only, you can use:

  • I need only the instruction. For example from mov r0 r1 O want to get only mov
    – Python
    Oct 27, 2021 at 15:56
  • Added to the answer Oct 27, 2021 at 16:25
  • Thanks. And how can I get the r0 and r1 please?
    – Python
    Oct 27, 2021 at 21:27
  • 1
    @Python, it's not fair to ask additional questions, moreover if you even didn't appreciate the right answer by accepting it and/or voting it up.
    – MarianD
    Nov 27, 2021 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.