Cygwin: Add new APIs tc[gs]etwinsize()
[newlib-cygwin.git] / newlib / libc / sys / a29khif / _sbrk.S
blob33c1269cdfe7b4bb8eeb7d11da2c1a443535a1c5
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