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.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>.LTORGSyntax.LTORGDescriptionWith this directive you <strong>for</strong>ce the assembler to generate a literal pool (data pocket) at the current location.All literals from the LDR= pseudo-instructions (except those which could be translated to MOV or MVNinstructions) between the previous literal pool and the current location will be assembled in a new literalpool using .DW directives.By default, the assembler generates a literal pool at the end of a code section, i.e. the .ENDSEC directiveat the end of a code section causes an implicit .LTORG directive. However, the default literal pool maybe out-of-reach of one or more LDR= pseudo-instructions in the section. In that case the assembler issuesan error message and you should insert .LTORG directives at proper locations in the section.Example.section .text;LDR r1,=0x12345678; code.ltorg ; literal pool contains the literal &0x12345678;;.endsec ; default literal pool is emptyRelated In<strong>for</strong>mationLDR= <strong>ARM</strong> generic instructionLDR= Thumb generic instruction120

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

Saved successfully!

Ooh no, something went wrong!