Introduction

1. What is RISC-V?

RISC-V is an open instruction set architecture (ISA). It is small, cleanly specified, and designed to be extended. That makes it ideal for learning how CPUs execute instructions and how software starts without an operating system.

2. Why bare-metal?

Bare-metal programming gives you direct control over the processor, memory map, and peripherals. It also forces you to understand what the compiler, linker, and startup code are doing, which makes debugging and reverse engineering much easier later.

3. What you will build

You will write small RV32 programs that:

4. Summary