From: David Updegraff <dave@cray.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] need PPC asm. help. for 83xx watchdog
Date: Fri, 06 Jan 2006 09:22:26 -0600 [thread overview]
Message-ID: <43BE8B32.1060507@cray.com> (raw)
Hi.
Attempting to enable&use watchdog in 8343; but run into Assembler
(v.2.15) problem in cpu/mpc83xx/start.S:424
....
/* and reset it */
li r4, 0x556C
sth r4, SWSRR at l(r3)
li r4, 0xAA39 <-------- gas barks here, 0xAA39 > 0x8000
sth r4, SWSRR at l(r3)
which I do not understand, since I thought 'li' was an UNsigned 16bit
load. I can work around it in a kludgey way with.
lis r4, 0
ori r4, r4, 0xAA39
sth r4, SWSRR at l(r3)
but wonder if one you PowerPC assembler gurus could offer better suggestion.
Thanx.
-dbu.
next reply other threads:[~2006-01-06 15:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-06 15:22 David Updegraff [this message]
2006-01-06 15:36 ` [U-Boot-Users] need PPC asm. help. for 83xx watchdog Jerry Van Baren
2006-01-07 11:03 ` 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=43BE8B32.1060507@cray.com \
--to=dave@cray.com \
--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