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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>3.6.2. Strings .................................................................................................. 863.6.3. Expression Operators .............................................................................. 873.7. Working with Sections ......................................................................................... 883.8. Built-in Assembly Functions ................................................................................. 893.9. Assembler Directives .......................................................................................... 943.9.1. Overview of Assembler Directives ............................................................... 953.9.2. Detailed Description of Assembler Directives ................................................ 963.10. Macro Operations ........................................................................................... 1353.10.1. Defining a Macro ................................................................................. 1353.10.2. Calling a Macro ................................................................................... 1353.10.3. Using Operators <strong>for</strong> Macro Arguments ..................................................... 1363.11. Generic Instructions ........................................................................................ 1393.11.1. <strong>ARM</strong> Generic Instructions ...................................................................... 1393.11.2. <strong>ARM</strong> and Thumb-2 32-bit Generic Instructions ........................................... 1403.11.3. Thumb 16-bit Generic Instructions ........................................................... 1424. Using the C Compiler .................................................................................................. 1454.1. Compilation Process ......................................................................................... 1454.2. Calling the C Compiler ...................................................................................... 1464.3. How the Compiler Searches Include Files ............................................................. 1484.4. Compiling <strong>for</strong> Debugging ................................................................................... 1494.5. Compiler Optimizations ..................................................................................... 1494.5.1. Generic Optimizations (frontend) .............................................................. 1514.5.2. Core Specific Optimizations (backend) ....................................................... 1534.5.3. Optimize <strong>for</strong> Size or Speed ...................................................................... 1554.6. Influencing the Build Time .................................................................................. 1584.7. Static Code Analysis ......................................................................................... 1604.7.1. C Code Checking: CERT C ...................................................................... 1614.7.2. C Code Checking: MISRA-C .................................................................... 1634.8. C Compiler Error Messages ............................................................................... 1655. Using the C++ Compiler ............................................................................................... 1675.1. Calling the C++ Compiler ................................................................................... 1675.2. How the C++ Compiler Searches Include Files ....................................................... 1695.3. C++ Compiler Error Messages ............................................................................ 1706. Profiling .................................................................................................................... 1736.1. What is Profiling? ............................................................................................. 1736.1.1. Methods of Profiling ............................................................................... 1736.2. Profiling using Code Instrumentation (Dynamic Profiling) .......................................... 1746.2.1. Step 1: Build your Application <strong>for</strong> Profiling ................................................... 1766.2.2. Step 2: Execute the Application ................................................................ 1776.2.3. Step 3: Displaying Profiling Results ........................................................... 1796.3. Profiling at Compile Time (Static Profiling) ............................................................. 1826.3.1. Step 1: Build your Application with Static Profiling ......................................... 1826.3.2. Step 2: Displaying Static Profiling Results ................................................... 1837. Using the Assembler ................................................................................................... 1857.1. Assembly Process ............................................................................................ 1857.2. Assembler Versions .......................................................................................... 1867.3. Calling the Assembler ....................................................................................... 1867.4. How the Assembler Searches Include Files ........................................................... 1877.5. Generating a List File ........................................................................................ 1887.6. Assembler Error Messages ................................................................................ 189iv

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

Saved successfully!

Ooh no, something went wrong!