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 Language
• See how data is represented and stored in a RISC-V based computer
• Make operating system calls from Assembly Language and include other software libraries in projects
• Interface to various hardware devices
• Comprehend code containing Assembly Language
• Reverse engineer and hack code
• Use 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.
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 Language
• See how data is represented and stored in a RISC-V based computer
• Make operating system calls from Assembly Language and include other software libraries in projects
• Interface to various hardware devices
• Comprehend code containing Assembly Language
• Reverse engineer and hack code
• Use 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.

RISC-V Assembly Language Programming: Unlock the Power of the RISC-V Instruction Set
355
RISC-V Assembly Language Programming: Unlock the Power of the RISC-V Instruction Set
355Product Details
ISBN-13: | 9798868801365 |
---|---|
Publisher: | Apress |
Publication date: | 02/09/2024 |
Series: | Maker Innovations Series |
Edition description: | 1st ed. |
Pages: | 355 |
Product dimensions: | 6.10(w) x 9.25(h) x (d) |