shithub: scc

ref: 0aee0027b0ae4f745250ca8ca90e7d5c6017151d
dir: /src/libc/arch/arm/longjmp.s/

View raw version
	.file   "longjmp.s"

	.text
	.globl	longjmp
longjmp:
	ldmia	r0, {r4-r11, sp, lr}

	// If r1 is 0 return 1 instead
	movs	r0, r1
	moveq	r0, #1
	bx	lr