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

  • 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
  • Use the official RISC-V reference documentation
Les mer
Unlock the world of 64-bit programming with this comprehensive Assembly Language book for the RISC-V architecture Gain invaluable insights for targeting diverse hardware platforms, from Linux-powered SBCs to RISC-V Microcontrollers Explore the art of reverse engineering and hacking through real-world examples, empowering you with practical skills
Les mer
GPSR Compliance The European Union's (EU) General Product Safety Regulation (GPSR) is a set of rules that requires consumer products to be safe and our obligations to ensure this. If you have any concerns about our products you can contact us on ProductSafety@springernature.com. In case Publisher is established outside the EU, the EU authorized representative is: Springer Nature Customer Service Center GmbH Europaplatz 3 69115 Heidelberg, Germany ProductSafety@springernature.com
Les mer

Produktdetaljer

ISBN
9798868801365
Publisert
2024-02-09
Utgiver
Springer-Verlag Berlin and Heidelberg GmbH & Co. KG
Høyde
235 mm
Bredde
155 mm
AldersnivĂĽ
Professional/practitioner, P, 06
SprĂĽk
Product language
Engelsk
Format
Product format
Heftet

Forfatter