Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_sbrk.s « a29khif « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33c1269cdfe7b4bb8eeb7d11da2c1a443535a1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
	.file "sbrk.c"
	.sect .lit,lit
gcc2_compiled.:
	.text
	.align 4
	.global __sbrk
	.word 0x30000
__sbrk:
	sub gr1,gr1,16
	asgeu V_SPILL,gr1,gr126
	add lr1,gr1,28
	sll lr2,lr6,0
	jmpt lr2,L4
	constn gr96,65535
	const gr116,__sysalloc
	consth gr116,__sysalloc
	calli lr0,gr116
	nop
	sll gr117,gr96,0
	cpneq gr116,gr117,0
	jmpf gr116,L4
	constn gr96,65535
	sll gr96,gr117,0
L4:
	add gr1,gr1,16
	nop
	jmpi lr0
	asleu V_FILL,lr1,gr127