From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Christiansen Date: Thu, 8 May 2003 14:24:59 +1000 Subject: [U-Boot-Users] what means this symbol "@"? In-Reply-To: References: Message-ID: <20030508042458.GA671@dd.nec.com.au> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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