mirror of
https://github.com/fincs/FeOS.git
synced 2025-06-19 03:25:33 -04:00
12 lines
205 B
ArmAsm
12 lines
205 B
ArmAsm
.arch armv5te
|
|
.text
|
|
.global __newThread
|
|
.hidden __newThread
|
|
.type __newThread STT_FUNC
|
|
|
|
.align 2
|
|
__newThread: @ r0 - param, r1 - entrypoint, r2 - stack pointer
|
|
mov sp, r2
|
|
ldr lr, =FeOS_ExitThread
|
|
bx r1
|