I read a chapter about encoding Arm instructions, and I can figure out that the 32-bit code for
instruction MOVS r2, #0x01 is 0xF45F 0201. What are the 32-bit codes for instructions
ADDS r3, r1, r2, and BX lr?
Either follow Andy's tip or take a reference manual. They all list the opcodes.
Thank you very much Bastian and Andy. Yes, it helps.