LTORG directive instructs the assembler to assemble the current literal pool immediately.
The assembler assembles the current literal pool at the end
of every code section. The end of a code section is determined by
AREA directive at the beginning of the
following section, or the end of the assembly.
These default literal pools can sometimes be out of range
WLDR pseudo-instructions. Use
ensure that a literal pool is assembled within range.
Large programs can require several literal pools. Place
after unconditional branches or subroutine return instructions so
that the processor does not attempt to execute the constants as
The assembler word-aligns data in literal pools.
AREA Example, CODE, READONLY start BL func1 func1 ; function body ; code LDR r1,=0x55555555 ; => LDR R1, [pc, #offset to Literal Pool 1] ; code MOV pc,lr ; end function LTORG ; Literal Pool 1 contains literal &55555555. data SPACE 4200 ; Clears 4200 bytes of memory starting at current location. END ; Default literal pool is empty.