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

trap.S « sysmec « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 911c02dbc8a60801e8003dd2b8969d7a7ee9e285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	.text
	.global	___trap0
___trap0:
	syscall
	cmp 0,d0
	beq .L0
	mov d0,(_errno)
.L0:
#ifdef __mn10300__
	rets
#else
	rts
#endif