You copied the Doc URL to your clipboard.

T32 code size diagnostics

In T32 code, some instructions, for example a branch or LDR (PC-relative), can be encoded as either a 32-bit or 16-bit instruction. armasm chooses the size of the encoding as described in Instruction width selection in T32.

armasm can issue warnings when an instruction is assembled to a 32-bit T32 instruction where a 16-bit T32 instruction could have been used. To enable this warning, use the following command-line option when invoking armasm:

armasm --diag_warning 1813