| |||
| Home > Using the Assembler > IT block generation | |||
If you write:
AREA x,CODE
THUMB
MOVNE r0,r1 ; (1)
NOP
IT NE
MOVNE r0,r1 ; (2)
END
the assembler generates an IT instruction before
the first MOVNE instruction.
You can get warning messages about this automatic generation
of IT blocks when assembling Thumb code. To do this,
use the following command line option when invoking the assembler:
armasm --diag_warning 1763
Assembler Reference: