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

trap.S « mn10200 « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cda7a20e25d5213ca278a5a860d1dc042d928847 (plain)
1
2
3
4
5
6
7
8
9
	.text
	.global	___trap0
___trap0:
	syscall
	cmp	0,d0
	beq	noerr
	mov	d0,(_errno)
noerr:
	rts