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

Subversion Repositories zet86

[/] [zet86/] [trunk/] [bin/] [out2rom-ml403.c] - Blame information for rev 55

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

Line No. Rev Author Line
1 14 zeus
int main()
2
{
3
  char buf[2];
4
  char buf2[2] = { 0xff, 0xff };
5
  while (read(0, &buf, 2)==2)
6
    {
7
      write(1, &buf2, 2);
8
      write(1, &buf[1], 1);
9
      write(1, &buf[0], 1);
10
    }
11
  return 0;
12
}
13
 

powered by: WebSVN 2.1.0

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