I'm trying to understand ARM instruction encoding.
The following image shows C code along with its corresponding assembly instructions:
I looked at the ARMv7 reference manual. However, I couldn't find the relationship between the machine code and the corresponding assembly instruction.
For example,
I couldn't relate the machine code
F1AD0D08
to the assembly instruction
sub.w sp, sp, #8
Could you help me with this?
======================================================
Based on the answers and after looking at the reference manual, I added the following information.
The processor name is Cortex-M4F.
The processor architecture of the microcontroller I use is ARMv7.
Specifically, the microcontroller profile employed is ARMv7-M.
From the manual:
ARMv7-M The microcontroller profile for systems supporting only the Thumb instruction set, and where overall size and deterministic operation for an implementation are more important than absolute performance.