Can I use the system call provided by uboot in an assembly language program as in ppcbug?

Zhang Xin-W22390 W22390 at motorola.com
Mon Dec 26 23:43:49 EST 2005


Hello,
I want to call some system calls to do input/ouput in assembly language
program, and does uboot provide such syscall? As in PPCBUG, I can
program the following code:
  li r10,0x0022
  sc
to do an output to console.
 
I know I can program a standalone application using printf() to achieve
this function, as illustrated by the example uboot provides. Instead, I
want to use assembly language. 
 
Thanks and Regards.
 
Zhang Xin
MOTO Networks CDC
Phone: 86 10 58830720
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051226/b1198a02/attachment.htm 


More information about the Linuxppc-embedded mailing list