mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-10 03:54:48 +00:00
11 lines
130 B
ArmAsm
11 lines
130 B
ArmAsm
.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]
|