8.8 Automatic IT block generation in T32 code

armasm can automatically insert an IT block for conditional instructions in T32 code, without requiring the use of explicit IT instructions.

If you write the following code:

        AREA x, CODE
        THUMB
        MOVNE   r0,r1 
        NOP
        IT      NE
        MOVNE   r0,r1 
        END

armasm generates the following instructions:

        IT      NE
        MOVNE   r0,r1
        NOP
        IT      NE
        MOVNE   r0,r1

You can receive warning messages about the automatic generation of IT blocks when assembling T32 code. To do this, use the armasm --diag_warning 1763 command-line option when invoking armasm.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.