From https://github.com/anthony-coulter/riscv-disassembler. Modified slightly to pull in less headers in the h, prefix funcs.