Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chuckb/riscv-helloworld

Bare metal hello world assembly for Risc-V 32i architecture using QEMU
https://github.com/chuckb/riscv-helloworld

Last synced: 4 days ago
JSON representation

Bare metal hello world assembly for Risc-V 32i architecture using QEMU

Awesome Lists containing this project

README

        

# RISC-V Bare-Metal Hello World In Assembly

## Prerequisites
This example and accompanying video were done on OSX. If the toolchain is installed on other OSes, then in theory it should also work.
- Compiler: https://github.com/riscv-software-src/homebrew-riscv
- Make
- QEMU: https://formulae.brew.sh/formula/qemu

## References:
- Youtube video: https://www.youtube.com/watch?v=qLzD33xVcRE
- 16550 UART Documentation: https://uart16550.readthedocs.io/en/latest/uart16550doc.html
- QEMU virt machine description: https://www.qemu.org/docs/master/system/riscv/virt.html

## Running:
`make run`