Risc-V Bare Metal C Hello World!
I walk through creating a bare-metal hello world C program for the Risc-V architecture and test it using QEMU. My prior assembly language video that I referred to in this video is here: • Risc-V Bare Metal Assembler Hello World! My github repo with source code: https://github.com/chuckb/riscv-hello... Inspiration for this was derived from the excellent blog by Tyler Wilcock at: https://twilco.github.io/riscv-from-s... If you want to know everything about linker script development, try: https://mcyoung.xyz/2021/06/01/linker... The TI datasheet I referenced is at: https://www.ti.com/lit/ds/symlink/tl1... One note that I did not mention in the video...some might say why I did not use the ENTRY(_start) clause in the linker. Because it would make no difference in this case. ENTRY just writes to the elf header. Because there is not boot loader, the entry point in the header does not matter. The only thing that matters is the order of the code sections. And because I placed the hello.o before start.o in the linker, unless the KEEP directive is used, listing order will govern.

Risc-V Bare Metal Assembler Hello World!

RiscV Debugging With QEMU, GDB, and VSCode

Freestanding RISC-V Programs

UEC++ From Basics to Advanced | M18-001: Simple Thread Interaction Framework

This CPU is FREE! - Milk-V Pioneer with RISC-V

Hello, Assembly! Retrocoding the World's Smallest Windows App in x86 ASM

Why Einstein Field Equations So Hard?

*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Tips for C Programming

Could Covering Your Car In Dimples Like A Golf Ball Save Fuel? | MythBusters

RISC vs CISC Computer Architectures (David Patterson) | AI Podcast Clips with Lex Fridman

How C Really Works

Before You Trash Your Old PC Power Supply... Build This!

RISC-V Assembly Hello World (Part 1)

Revealing The SPECIAL TECHNIQUE Of A Pakistani Man To EXTRACT GOLD From Used Motherboard Waste

How a Microcontroller starts

How 1999 Quake 3 Teaches Elite Software Engineering

Microkernels

