repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
devctl.h: update for POSIX-1.2024
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
sysvnecv70
/
crt0.S
blob
7c4bc77cfbe72afd5ee69c1ec2b4d220568c8e56
1
.globl start
2
start:
3
sub.w #0x8,sp
4
mov.w 0x8[sp],[sp]
5
movea.w 0xc[sp],r0
6
mov.w r0,0x4[sp]
7
tloop: test.w [r0+]
8
jne tloop
9
cmp.w r0,[0x4[sp]]
10
jge l1
11
sub.w #0x4,r0
12
l1: mov.w r0,0x8[sp]
13
mov.w r0,_environ
14
15
16
call _main,[sp]
17
add.w #0xc,sp
18
push r0
19
call _exit,[sp]
20
add.w #0x4,sp
21
chlvl #0,#1
22
23
.data
24
25
.globl _environ
26
_environ:
27
.word 0
28