Skip to content

Latest commit

 

History

History

asm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.