Skip to content
项目

关于

RISC-V 汇编语言编程。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

rvalp

RISC-V Assembly Language Programming

This is an attempt to create a book on RISC-V programming in assembly language.

See the Releases page for pre-made PDF versions: https://github.com/johnwinans/rvalp/releases

Pull requests are welcome.

I will release PDFs after useful improvements from time to time into the releases area for those that don't wish to build their own.

You can find the rvddt simulator mentioned in the text here: https://github.com/johnwinans/rvddt

I developed this using LaTeX via texlive. LaTeX is very portable. You should be able to tinker with it on most any platform.

On Ubuntu 20.04 and 18.04 LTS, loading the following packages worked for me:

sudo apt install make      
sudo apt install git
sudo apt install texlive-latex-extra

I suspect the same (above) would work on 16.04 as well.

Then clone and build this repo:

git clone https://github.com/johnwinans/rvalp.git
cd rvalp
make world

Related Projects

The RISC-V simulator that I use to generate figures: https://github.com/johnwinans/rvddt

A RISC-V simulator with more advanced features (but is also more complicated): https://github.com/johnwinans/riscv-toolchain-install-guide

The toolchain used to assemble and compile programs in this book: https://github.com/riscv/riscv-gnu-toolchain

See Appendix A of rvalp for the precise details on how I downloaded and build each of these tools on Linux.

Note: During the great on-line COVID school year I recorded some lectures on RISC-V that use this book as a reference.
These lectures appear in the following YouTube playlists:

探索相关项目

加载中…