Yet I posted this because- - Book is really good for learning RISC-V Assembly.
- There are plenty other RISC-V simulators. Use what you like. For learning each instruction one by one, I like the following sim. https://www.cs.cornell.edu/courses/cs3410/2019sp/riscv/inter...
- RISC-V has very small number of instructions (less than 100), compare this to ARM, X86 etc. By the way, word "REDUCED" in RISC does not mean less number of instructions in ISA. Rather it means, each instruction has significantly "REDUCED" functionality such that, it can be easily executed in single clock cycle, can be implemented with less gates etc. overall simplicity is main goal. Yet, I see, even ChatGPT told me that other way around until I pointed that ARM ISA (being RISC) has significantly higher number of instructions... . However, it told one thing very correctly: All RISC-V have Load-store model, where entire ISA can be devided into 2 parts: First part, instructions that purely work on cpu registers without ever making memory access. And second part, where instructions that only access the memory. This is fundamentally load store architecture which is one of the must part of RISC-V. But load-store can also be used in CISC.
Correct me if I am wrong here.
Last but not least: If I can turn time back and learn programming language, I would learn RISC-V assembly, ( not C or Python or JavaScript ...). In that sense, I am learning RISC-V and sharing it to others.
I'd suggest the spec or the "RISC-V Reader" book instead, particularly if you already know any other assembly language.
With the right tools, it can likely be used to compile the book into a proper PDF, rather than using print workarounds.
Seems, reading the book on the browser is the only option, that is how I did it since many weeks.
<!-- Created by pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlex) -->
The PDF itself nowhere to be found, although I expect one will be generated by hackish means and uploaded somewhere soon. (edit: z-library and Anna's both have it)
The simulator is similarly locked behind the webbrowser, but seems to be at least based on an open source one[0]. Whether it has been modified is unclear.
0. https://github.com/antoniocgj/RISC-V-ALE