Jump to ratings and reviews
Rate this book

RISC-V Assembly Language Programming: Unlock the Power of the RISC-V Instruction Set

Rate this book
Gain the skills required to dive into the fundamentals of the RISC-V instruction set architecture. This book explains the basics of code optimization, as well as how to interoperate with C and Python code, thus providing the starting points for your own projects as you develop a working knowledge of assembly language for various RISC-V processors.

The RISC-V processor is the new open-source CPU that is quickly gaining popularity and this book serves as an introduction to assembly language programming for the processor in either 32- or 64-bit mode. You’ll see how to write assembly language programs for several single board computers, including the Starfive Visionfive 2 and the Espressif ESP32-C3 32-bit RISC-V microcontroller. The book also covers running RISC-V Linux with the QEMU emulator on and Intel/AMD based PC or laptop and all the tools required to do so.

Moving on, you’ll examine the basics of the RISC-V hardware architecture, all the groups of RISC-V assembly language instructions and understand how data is stored in the computer’s memory. In addition, you’ll learn how to interface to hardware such as GPIO ports. With RISC-V Assembly Language Programming you’ll develop enough background to use the official RISC-V reference documentation for your own projects.

What You'll Learn



Program basic RISC-V Assembly LanguageSee how data is represented and stored in a RISC-V based computerMake operating system calls from Assembly Language and include other software libraries in projectsInterface to various hardware devicesComprehend code containing Assembly LanguageReverse engineer and hack codeUse the official RISC-V reference documentation

Who This Book Is For

Those who have already learned to program in a higher-level language like Python, Java, C# or even C and now wish to learn Assembly Language programming.

380 pages, Paperback

Published February 9, 2024

2 people are currently reading
1 person want to read

About the author

Stephen Smith

361 books17 followers
Librarian note:
There is more than one author in the GoodReads database with this name.
This profile may contain books from multiple authors of this name
For other authors of this name, see:


Stephen Smith - American Surgeon, Public Health
Stephen Smith - African Studies
Stephen Smith - Contemporary Non Fiction, Journalism

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.