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
Cygwin: Add new APIs tc[gs]etwinsize()
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
a29khif
/
_sbrk.S
blob
33c1269cdfe7b4bb8eeb7d11da2c1a443535a1c5
1
.file "sbrk.c"
2
.sect .lit,lit
3
gcc2_compiled.:
4
.text
5
.align 4
6
.global __sbrk
7
.word 0x30000
8
__sbrk:
9
sub gr1,gr1,16
10
asgeu V_SPILL,gr1,gr126
11
add lr1,gr1,28
12
sll lr2,lr6,0
13
jmpt lr2,L4
14
constn gr96,65535
15
const gr116,__sysalloc
16
consth gr116,__sysalloc
17
calli lr0,gr116
18
nop
19
sll gr117,gr96,0
20
cpneq gr116,gr117,0
21
jmpf gr116,L4
22
constn gr96,65535
23
sll gr96,gr117,0
24
L4:
25
add gr1,gr1,16
26
nop
27
jmpi lr0
28
asleu V_FILL,lr1,gr127
29
30