* [ECOS] a question
@ 2000-11-13 22:03 wwm
2000-11-21 22:05 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: wwm @ 2000-11-13 22:03 UTC (permalink / raw)
To: ecos-discuss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
Â
Hi,
Â
We are porting the eCos to the embedded
microprocessor MPC823,as everyone know,the most improtant port is the HAL,but I
can not find the syntax rules on how to write the assemble code in HAL.
e.g. What do "I" mean in code:
Â
      asm
volatile ("mfspr %0, %1;" : "=r" (_v_) : "I" (_spr_));
Â
Â
The question is  where I can find
the detailed documents about it.
Thank you in advance.
Â
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] a question
2000-11-13 22:03 [ECOS] a question wwm
@ 2000-11-21 22:05 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-11-21 22:05 UTC (permalink / raw)
To: wwm; +Cc: ecos-discuss
> wwm wrote:
>
> We are porting the eCos to the embedded microprocessor MPC823,as everyone
> know,the most improtant port is the HAL,but I can not find the
> syntax rules on how to write the assemble code in HAL. e.g. What do "I"
> mean in code:
>
> asm volatile ("mfspr %0, %1;" : "=r" (_v_) : "I" (_spr_));
>
>
> The question is where I can find the detailed documents about it.
This is gcc extended asm. You can find documentation in the gcc info files.
Use the "info gcc" command on linux; or I think they are available
somewhere on www.gnu.org as well.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-21 22:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 22:03 [ECOS] a question wwm
2000-11-21 22:05 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).