Hi,
I read the following on IT block in ARM Thumb2 instruction. I don't understand
the last sentence on AL to get the changed behavior.
Could you explain it to me?
Thanks,
/////////////
A8.6.50 IT
If Then makes up to four following instructions (the IT block) conditional.
The conditions for the instructions in the IT block can be the same, or some
of them can be the inverse of others.
IT does not affect the condition code flags. Branches to any instruction in
the IT block are not permitted, apart from those performed by exception
returns.
16-bit instructions in the IT block, other than CMP, CMN and TST, do not set
the condition code flags. The AL condition can be specified to get this
changed behavior without conditional execution.
See the section 'interesting optimization possibilities' in
Condition Codes 3: Conditional Execution in Thumb-2