Risc-V Assembly Language Programming: Unlock the Power of the Risc-V Instruction Set (Paperback)
暫譯: Risc-V 組合語言程式設計:解鎖 Risc-V 指令集的力量 (平裝本)

Smith, Stephen

  • 出版商: Apress
  • 出版日期: 2024-02-09
  • 售價: $1,998
  • 貴賓價: 9.5$1,898
  • 語言: 英文
  • 頁數: 355
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868801365
  • ISBN-13: 9798868801365
  • 相關分類: RISC-VAssembly
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

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 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 指令集架構基礎所需的技能。本書解釋了代碼優化的基本概念,以及如何與 C 和 Python 代碼進行互操作,從而為您在開發各種 RISC-V 處理器的組合語言工作知識時提供自己的項目起點。

RISC-V 處理器是新興的開源 CPU,正迅速獲得人氣,本書作為該處理器的組合語言編程入門,支持 32 位或 64 位模式。您將學習如何為多個單板計算機編寫組合語言程序,包括 Starfive Visionfive 2 和 Espressif ESP32-C3 32 位 RISC-V 微控制器。本書還涵蓋了如何在基於 Intel/AMD 的 PC 或筆記本電腦上使用 QEMU 模擬器運行 RISC-V Linux 及所需的所有工具。

接下來,您將檢視 RISC-V 硬體架構的基本概念、所有 RISC-V 組合語言指令組以及理解數據如何存儲在計算機的記憶體中。此外,您將學習如何與 GPIO 埠等硬體進行介面。透過《RISC-V 組合語言編程》,您將獲得足夠的背景知識,以便在自己的項目中使用官方 RISC-V 參考文檔。

您將學到的內容:

- 編寫基本的 RISC-V 組合語言程序
- 了解數據在基於 RISC-V 的計算機中是如何表示和存儲的
- 從組合語言進行操作系統調用並在項目中包含其他軟體庫
- 與各種硬體設備進行介面
- 理解包含組合語言的代碼
- 反向工程和破解代碼
- 使用官方 RISC-V 參考文檔

本書適合對象:

已經學會使用 Python、Java、C# 或甚至 C 等高級語言編程的人,現在希望學習組合語言編程。

作者簡介

Stephen Smith is a Software Architect, located in Gibsons, BC, Canada. He's been developing software since high school, or way too many years to record. He is an expert in Artificial Intelligence and Assembly Language programming, earned his Advanced HAM Radio License. Smith also enjoys mountain biking, hiking and nature photography, and volunteers for Sunshine Coast Search and Rescue. He is the author of Raspberry Pi Assembly Language Programming, Programming with 64-Bit ARM Assembly Language, and Mobile Devices and RP2040 Assembly Language Programming, all published by Apress. Also, he writes his popular technology blog, at smist08.wordpress.com.

 

作者簡介(中文翻譯)

史蒂芬·史密斯(Stephen Smith)是一位軟體架構師,位於加拿大不列顛哥倫比亞省的吉本斯(Gibsons)。他自高中以來便開始開發軟體,至今已經有太多年的經驗無法記錄。他是人工智慧(Artificial Intelligence)和組合語言(Assembly Language)編程的專家,並獲得了高級業餘無線電執照(Advanced HAM Radio License)。史密斯還喜歡山地自行車、健行和自然攝影,並自願參加陽光海岸搜索與救援(Sunshine Coast Search and Rescue)工作。他是《樹莓派組合語言編程》(Raspberry Pi Assembly Language Programming)、《64位ARM組合語言編程》(Programming with 64-Bit ARM Assembly Language)和《行動裝置與RP2040組合語言編程》(Mobile Devices and RP2040 Assembly Language Programming)的作者,這些書籍均由Apress出版。此外,他還在smist08.wordpress.com撰寫他受歡迎的科技部落格。

最後瀏覽商品 (1)