13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tool OptionsAssembler option: --thumbMenu entry1. Select Assembler » Miscellaneous.2. Enable the option Assemble Thumb instructions by default.Command line syntax--thumbDescriptionWith this option you tell the assembler that the input file contains Thumb code. By default the assemblerassumes that the input file contains <strong>ARM</strong> code. Specifying --thumb with --cpu=<strong>ARM</strong>v7M or with theThumb only assembler (asarmt) is not required.Note that the input may still contain mixed Thumb and <strong>ARM</strong> code because the .<strong>ARM</strong>, .THUMB, .CODE16and .CODE32 directives overrule the --thumb option. Assembly code can check the setting of the --thumboption by means of the built-in assembly function @THUMB(). So, if you use @THUMB() in a .<strong>ARM</strong> partand you specified --thumb, @THUMB() still returns 1.Related in<strong>for</strong>mationAssembly function @THUMB()Assembler directives .CODE16, .CODE32, .<strong>ARM</strong>, .THUMB529

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!