Understanding Non-Local Jumps (setjmp/longjmp) in RISC-V Assembly

from blog Daniel Mangum, | ↗ original
This post explores RISC-V assembly by examining the implementation of the setjmp and longjmp functions from the C standard library. I frequently find that I grasp concepts more quickly when I have actual code that I can disassemble because it allows me to connect information with intent. I believe RISC-V and similar efforts will fundamentally...