Assembly examples for Red-V Thing Plus (SiFive FE310-G002)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
flabbergast 930b40bef2 Add debugging info into README. 5 months ago
..
Makefile Add 05-write. 5 months ago
README.md Fix calls. 5 months ago
macros.s Add top-of-file comments. 5 months ago
main.s Add top-of-file comments. 5 months ago
memmap Add 05-write. 5 months ago
p_clock.s Add top-of-file comments. 5 months ago
p_delay.s Add top-of-file comments. 5 months ago
p_uart0.s Add top-of-file comments. 5 months ago
platform_regs.inc Add 05-write. 5 months ago
write.s Fix some bugs (write/irq). 5 months ago

README.md

05-write

New: write.s. Contains some basic functions for printing numbers and strings.

This is the first one that has nested jals, and so an explicit stack setup and handling is introduced. Actually I use two stacks, one for "data" (for the printing routine), and one standard "return" stack. Inspired, of course, by mecrisp forth.