source: trunk/libs/newlib/src/libgloss/rs6000/test.c @ 532

Last change on this file since 532 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 355 bytes
RevLine 
[444]1extern int led_putnum();
2extern char putDebugChar(),print(),putnum(); 
3
4main()
5{
6  char buf[20];
7
8  outbyte ('&');
9  outbyte ('@');
10  outbyte ('$');
11  outbyte ('%');
12  print ("FooBar\r\n");
13
14#if 0
15  write (2, "Enter 5 characters... ", 24);
16  read (0, buf, 5);
17  print (buf);
18  print ("\r\n");
19#endif
20 
21  /* whew, we made it */
22  print ("\r\nDone...");
23}
Note: See TracBrowser for help on using the repository browser.