Commit Diff


commit - 52a430f311f2ce1fe38eb2fb7d5867df29e13e7e
commit + 461d14981023044f01a4a27fe87ddaa313bc5e39
blob - 6634c2708ac436e52f5c1fb974b170cf6de574cb
blob + ebe99ece4176b423afb04d660bc2f31790770808
--- Makefile
+++ Makefile
@@ -7,7 +7,7 @@ PREFIX	= /usr/local
 
 CROSS	= riscv64-unknown-linux-musl
 CFLAGS	= -fPIC -O3
-LDFLAGS	= -s -pie -static -lpthread
+LDFLAGS	= -s -pie -static -lpthread$ -lutil
 OBJ	= rvemu.o ecall.o cpu.o exec.o
 PROGS	= test.elf hello.elf
 
blob - ac40bdade5168d1a9d1dada49a2eef3dfe13ee5c
blob + e504615cd2b9d611ee9b1c2ec605747d563dbbaa
--- README
+++ README
@@ -1,2 +1,3 @@
 # Resources
 - https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf
+- https://five-embeddev.com/riscv-isa-manual/latest/instr-table.html