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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [w65/] [crt0.c] - Blame information for rev 309

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

Line No. Rev Author Line
1 207 jeremybenn
 
2
 
3
int p;
4
extern int edata;
5
extern int end;
6
start()
7
{
8
int  *s;
9
  asm ("lda #stack");
10
  asm ("tcs");
11
  for (s = &edata; s != &end; s++)
12
    *s = 0;
13
 
14
  main();
15
  exit(0);
16
}

powered by: WebSVN 2.1.0

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