URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [sys/] [w65/] [crt0.c] - Rev 345
Compare with Previous | Blame | View Log
int p; extern int edata; extern int end; start() { int *s; asm ("lda #stack"); asm ("tcs"); for (s = &edata; s != &end; s++) *s = 0; main(); exit(0); }