I am looking to create a simple RISC-V disassembler in C++.
The goal is to be able to take a .bin file, composed of separate bytes in hexadecimal, and parse those bytes into readable, formatted RISC-V instructions.
I suppose it could be done using just switch statements, but what is a more robust way of approaching this problem?
I'm a CS student, so I am approaching this as a learning exercise and want to familiarize myself with the tools of C++ with this project.