Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 614 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 614 Bytes

Assembly Example

This is a simple RISC-V assembly program that prints a string to the 8051 UART.

Prerequisites

  • GNU Binutils built with support for the riscv32-elf target (needed to assemble the program)
  • SDCC (needed for sdobjcopy and the s51 simulator)

Usage

Run make sim in this directory to build the example and start the simulator.

License

This example code is licensed under the Zero-Clause BSD (0BSD) license.