[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Any symbol followed by @word
will be replaced by the symbol's value
shifted right by 2. This is used in situations such as loading a register
with the address of a function (or any other code fragment). For example, if
you want to load a register with the location of the function main
then
jump to that function, you could do it as follows:
ldi r2, main@word jmp r2 |
This document was generated by Build Daemon user on October, 25 2005 using texi2html 1.76.