4.2.5. Labels in Thumb code

The linker distinguishes between labels referring to:

When the linker relocates a value of a label referring to a Thumb instruction, it sets the least significant bit of the relocated value. This means that a branch to a label can automatically select the appropriate instruction set. This works if any of the following instructions are used for the branch:

In releases of ARM Developer Suite (ADS) earlier than 1.2, it was necessary to mark data in Thumb code with the DATA directive. This is no longer necessary.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0203G