<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=359053512-26122005><FONT size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2> li
r10,0x0022</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2> sc</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2>to do an output to
console.</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2>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.
</FONT></SPAN></DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=359053512-26122005><FONT size=2>Thanks and
Regards.</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>Zhang Xin</FONT></DIV>
<DIV align=left><FONT size=2>MOTO Networks CDC</FONT></DIV>
<DIV align=left><FONT size=2>Phone: 86 10 58830720</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>