as: CRIS-Expand

1 
1 9.8.2 Instruction expansion
1 ---------------------------
1 
1 'as' will silently choose an instruction that fits the operand size for
1 '[register+constant]' operands.  For example, the offset '127' in
1 'move.d [r3+127],r4' fits in an instruction using a signed-byte offset.
1 Similarly, 'move.d [r2+32767],r1' will generate an instruction using a
1 16-bit offset.  For symbolic expressions and constants that do not fit
1 in 16 bits including the sign bit, a 32-bit offset is generated.
1 
1    For branches, 'as' will expand from a 16-bit branch instruction into
1 a sequence of instructions that can reach a full 32-bit address.  Since
1 this does not correspond to a single instruction, such expansions can
1 optionally be warned about.  ⇒CRIS-Opts.
1 
1    If the operand is found to fit the range, a 'lapc' mnemonic will
1 translate to a 'lapcq' instruction.  Use 'lapc.d' to force the 32-bit
1 'lapc' instruction.
1 
1    Similarly, the 'addo' mnemonic will translate to the shortest fitting
1 instruction of 'addoq', 'addo.w' and 'addo.d', when used with a operand
1 that is a constant known at assembly time.
1