4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 19:09:58 +08:00
2000-02-17 19:39:52 +00:00

17 lines
170 B
C

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);
}