Reply by Mayank Kaushik●January 15, 20052005-01-15
or is the aim to speed up execution by using sequential memory accesses?
Reply by Mayank Kaushik●January 15, 20052005-01-15
Hi,
im using the armasm assembler, and i learnt what literal pools are
while reading the ads assembler guide. i am using atmel`s pre-canned
libraries for low level inits. i have seen that the cstartup file has
code thats written in a particular way.
u can see that at the end of the section, the symbols like
"at91_default_fiq_handler" etc are stored nearby explicitly using DCD.
we could also have used something like
>ldr r0, =at91_default_fiq_handler
why is this being done?
does it have something to do with a literal pool?
---------------------------------------------------------------------------
;- Advanced Interrupt Controller configuration
;---------------------------------------------------------------------------
;- Set up the default vectors
;---------------------------------------------------------------------------
;- Load the AIC Base Address and the default handler addresses
> add r0, pc,#-(8+.-AicData) ; @ where to read values (relative)