4.20 Optional hash with immediate constants

You do not have to specify a hash before an immediate constant in any instruction syntax.

This applies to ARM, Thumb, and VFP instructions. For example, the following are valid instructions:
    BKPT 100
    MOVT R1, 256
    VCEQ.I8 Q1, Q2, 0    
By default, the assembler warns if you do not specify a hash:
WARNING: A1865W: '#' not seen before constant expression.
This can be suppressed with --diag_suppress=1865.
If you use the assembly code with another assembler, you are advised to use the # before all immediates. The disassembler always shows the # for clarity.
Related reference
Chapter 10 ARM and Thumb Instructions
Chapter 11 VFP Instructions
Non-ConfidentialPDF file icon PDF versionARM DUI0379G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.