mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
10 lines
94 B
ArmAsm
10 lines
94 B
ArmAsm
.text
|
|
.global ___trap0
|
|
___trap0:
|
|
syscall
|
|
cmp 0,d0
|
|
beq noerr
|
|
mov d0,(_errno)
|
|
noerr:
|
|
rts
|