This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
riscv [2025/02/02 15:24] admin created |
riscv [2025/07/05 16:19] (current) me |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==Riscv - how to use prinf from assembler== | + | ====== Riscv - how to use printf |
| - | The following link explains how to run RiscV Debian in qemu:- | + | The following link explains how to setup and run RiscV Debian in qemu on Linux in order to complete the assembler task below:- |
| [[https:// | [[https:// | ||
| - | All work has been carried out in the resulting operating system. | + | This link was so useful, I have reproduced it here for future reference:- [[RiscV-Qemu-Debian]] |
| + | |||
| + | All work has been carried out using Ubuntu as the host for qemu which then runs Riscv Debian | ||
| assemble with: | assemble with: | ||
| Line 14: | Line 16: | ||
| run with: | run with: | ||
| - | ./test | + | ./test2 |
| + | {{: | ||
| <file asm test2.s> | <file asm test2.s> | ||
| Line 36: | Line 39: | ||
| </ | </ | ||
| + | |||
| + | == interesting links == | ||
| + | |||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||