1 # setjmp/longjmp for m32r. The jmpbuf looks like this:
3 # Register jmpbuf offset
18 ;addi r0, #-4 ; commented out as first word is reserved
35 addi r0, #4 ; first word is reserved
43 ld r2, @r0+ ; return address
46 # If caller attempted to return 0, return 1 instead.