Opening a UDP Socket in RISC-V Assembly

from blog Daniel Mangum, | ↗ original
The following is an aggregation of a Twitter thread I posted on April 14th, 2022. Ever wondered how to open a UDP socket in @risc_v assembly? Wonder no more! li a0, 2 li a1, 2 li a2, 0 li a7, 198 ecall Let’s walk through it! 👇🏼🧵 The first thing to understand is that we are just a “normal” program running in user space. We don’t have special...