Sandbox for learning C Language.
The following commands will install the Toolchain, QEMU and GDB
sudo apt update -y
sudo apt install -y gcc-riscv64-unknown-elf qemu-system-misc gdb-multiarch
The document used to understand the ISA PDF
never use scanf function in production code, it's not safe.