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

Subversion Repositories openrisc

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

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 print(),putnum();
3
 
4
#include <stdio.h>
5
 
6
main()
7
{
8
  char buf[20];
9
 
10
  outbyte ('&');
11
  outbyte ('@');
12
  outbyte ('$');
13
  outbyte ('%');
14
  print ("FooBar\r\n");
15
 
16
#if 0
17
  write (2, "Enter 5 characters... ", 24);
18
  read (0, buf, 5);
19
  print (buf);
20
  print ("\r\n");
21
#endif
22
 
23
  /* whew, we made it */
24
  print ("\r\nDone...\r\n");
25
  fflush(stdout);
26
}

powered by: WebSVN 2.1.0

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