**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

Exactly one page like "PortingCodeOtherToolchains" found, redirecting to page.

Clear message

Porting ARM Assembler code to Cortex-M3

The "Unified Assembler Language" (UAL) was developed to make it easier to port applications between ARM code and Thumb code. With UAL, the syntax of Thumb instructions is now the same as ARM instructions.

To enable UAL in your assembler file, add the assembler directive

    .syntax unified