OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [rs6000/] [test.c] - Blame information for rev 866

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
extern int led_putnum();
2
extern char putDebugChar(),print(),putnum();
3
 
4
main()
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.