Some programs written in RISC-V 64 assembly for linux.
These programs can be built using the RISC-V gnu tool chain, and run using qemu's riscv user space emulator.
Example: Running hello/hello.s on Arch linux:
$ riscv64-linux-gnu-as hello.s -o hello.o
$ riscv64-linux-gnu-ld hello.o -o hello
$ qemu-riscv64 hello
Hello RISC-V!hello: hello world.args/count_args.s: count the number of command line arguments (which is kind of useless since one could simply look atargc).args/print_args.s: prints all of the command line arguments.cp/cp.s: a simple and crude implementation ofcp.print_load_addr/print_load_addr.s: prints the load address.