[U-Boot-Users] what means this symbol "@"?

Erik Christiansen erik at dd.nec.com.au
Thu May 8 06:24:59 CEST 2003

On Thu, May 08, 2003 at 11:32:50AM +0900, seaman wrote:
> In u-boot/cpu/mpc8xx/start.S,I usually find this symbol "@",such as
> followed:
> _start:
>  lis r3, CFG_IMMR at h  /* position IMMR */
>  mtspr 638, r3
>  li r21, BOOTFLAG_COLD /* Normal Power-On: Boot from FLASH */
>  b boot_cold
> what does it means? Thank you!

   The motorola assembler info, whether on the website, or in hardcopy
   can be impenetrable. However, knowing from that, what the lis
   instruction does, it can not be hard to deduce what XXXX at h means,
   especially when it is often found in the context:

   lis   r3,XXXXX at h
   ori   r3,XXXXX at l

   To confirm, try assembling and locating (with ld) a few lines, then
   use something like:

   powerpc-linux-objdump -S the_resulting_elf_file > /tmp/dump

   and examine what part of the address goes where.


More information about the U-Boot mailing list