public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Erik Christiansen <erik@dd.nec.com.au>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] what means this symbol "@"?
Date: Thu, 8 May 2003 14:24:59 +1000	[thread overview]
Message-ID: <20030508042458.GA671@dd.nec.com.au> (raw)
In-Reply-To: <BAY8-DAV5QHtMFaukyC0000080a@hotmail.com>

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.

Regards,
Erik

  reply	other threads:[~2003-05-08  4:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-08  2:32 [U-Boot-Users] what means this symbol "@"? seaman
2003-05-08  4:24 ` Erik Christiansen [this message]
     [not found] ` <3EBA0A5A.4080203@bigfoot.com>
2003-05-08  7:09   ` seaman
     [not found] <00039882.C22236@hotmail.com>
2003-05-08 11:22 ` Jerry Van Baren
2003-05-08 12:26   ` Pantelis Antoniou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030508042458.GA671@dd.nec.com.au \
    --to=erik@dd.nec.com.au \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox