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

trap.S « sysnecv850 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9955572a3a50e19c6e2770fd4d98aca2a94e7afe (plain)
1
2
3
4
5
6
7
8
9
10
	.text
	.global	___trap0
___trap0:
	trap 31
	tst r10,r10
	bz .L0
	movhi hi(_errno),r0,r6
	st.w r10,lo(_errno)[r6]
.L0:
	jmp [r31]