| |||
| Home > Using the Assembler > Thumb branch target alignment | |||
On some processors, non word-aligned Thumb instructions sometimes take one or more additional cycles to execute in loops. This means that it can be an advantage to ensure that branch targets are word-aligned. The assembler can issue warnings when branch targets in Thumb code are not word-aligned. To do this, use the following command line option when invoking the assembler:
armasm --diag_warning 1604
Assembler Reference: