“RISC-V Assembly Programming” is a free book teaching RISC-V assembly targeted primarily at college students taking classes that use RISC-V and commonly use RARS or Venus simulators. It covers all the basics: data declaration, ecalls, branching, looping, the calling convention and recursive functions, even floating point numbers. It should make the programming portion of such classes much easier.
Read the latest version in html, pdf, or epub:
It is also available on Leanpub:
Get the asciidoc source from Github
Support the book and buy the solutions to the chapter exercises at my store or at Leanpub
If you’re interested in contacting me regarding RISC-V tutoring or any other business request related to the book, you can reach me at books at robertwinkler dot com.
The book (all adoc files and final generated pdf/html) is under a Creative Commons License BY-NC-SA 4.0 which means that:
You are free to:
Under the following terms:
The separate code files in the code subdirectory of the repo are under the MIT license.