RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico
暫譯: RP2040 組合語言程式設計:在 Raspberry Pi Pico 上的 ARM Cortex-M0+
Smith, Stephen
- 出版商: Apress
- 出版日期: 2021-10-28
- 售價: $1,690
- 貴賓價: 9.5 折 $1,606
- 語言: 英文
- 頁數: 346
- 裝訂: Quality Paper - also called trade paper
- ISBN: 148427752X
- ISBN-13: 9781484277522
-
相關分類:
ARM、Raspberry Pi、Assembly
立即出貨 (庫存=1)
買這商品的人也買了...
-
$699$552 -
$839$797 -
$520$468 -
$594$564 -
$580$458 -
$354$336 -
$403四旋翼飛行器開發與應用實訓案例集萃
-
$300$285 -
$580$551 -
$390$351 -
$354$336 -
$380$342 -
$680$530 -
$980$774 -
$500$425 -
$550$495 -
$630$497 -
$650$507 -
$880$695 -
$750$585 -
$480$379 -
$534$507 -
$760$593 -
$680$340 -
$980$774
商品描述
About the Raspberry Pi Pico
About the Host Computer
How to Solder and Wire
How to Install Software
A Simple Program to Ensure Things are WorkingChapter 2: Our First Assembly Language Program
About the ARM Processor
Computers and Numbers
CPU Registers
ARM Instruction Format
RP2040 Memory
About the GCC Assembler
Flashing LEDs in Assembly Language
Chapter 3: How to Build and Debug Programs
CMake
GNU Make
Print Statements
GDB
Chapter 4: Loading and Adding
Negative Numbers
Little Endian Format
How to Shift and Rotate
MOV/MVN
ADD/ADCSUB/SBC
Chapter 5: How to Controll Program Flow
Unconditional Branch
About the CPSR
Branch on Condition
About the CMP Instruction
Loops
If/Then/Else
Logical Operators
Design Patterns
Chapter 6: Thanks for the Memories
How to Define Memory Contents
How to Load a Register
PC Relative Addressing
How to Load from Memory
How to Index Through Memory
How to Store a Register
Hardware as Memory
Introduction to DMA
Chapter 7: How to Call Functions and Use the Stack
The Stack
Branch with Link
How to Nest Function Calls
Function Parameters and Return Values
How to Manage the Registers
Summary of the Function Call Algorithm
Stack Frames
Chapter 8: Interacting with C and the SDK
How to Call C Routines
How to Call Assembly Routines from C
How to Deal with Inline C Routines
How to Use SDK Header Files
Chapter 9: How to Program the Built-in Hardware
The GPIO Pins
Analog to Digital
PWM
Chapter 10: How to Set and Catch Interrupts
Overview
How to Create an Interrupt Handler
Timers Example
Chapter 11: How to Initialize and Interact with Programmable I/O
Overview
SDK Support
PIO Instructions
How to Control Timing
Examples
Chapter 12: How to Connect Pico to IoT
Connectivity Options
Using a UART or I2C
Internet Basics
Security
Chapter 13: Multiplication, Division and Floating Point
Multiplication Coprocessor
Division Coprocessor
Interpolation
Floating Point Library
Chapter 14: Multiprocessing
Using Both CPU Cores
How to Synchronize and Share Resources
Audience: Intermediate
商品描述(中文翻譯)
第 1 章:如何設置開發環境
關於 Raspberry Pi Pico
關於主機電腦
如何焊接和接線
如何安裝軟體
一個簡單的程式以確保一切正常運作
第 2 章:我們的第一個組合語言程式
關於 ARM 處理器
電腦與數字
CPU 寄存器
ARM 指令格式
RP2040 記憶體
關於 GCC 組譯器
在組合語言中閃爍 LED
第 3 章:如何構建和除錯程式
CMake
GNU Make
列印語句
GDB
第 4 章:加載和相加
負數
小端格式
如何移位和旋轉
MOV/MVN
ADD/ADC
SUB/SBC
第 5 章:如何控制程式流程
無條件分支
關於 CPSR
條件分支
關於 CMP 指令
迴圈
If/Then/Else
邏輯運算子
設計模式
第 6 章:感謝記憶體
如何定義記憶體內容
如何加載寄存器
PC 相對尋址
如何從記憶體加載
如何索引記憶體
如何儲存寄存器
硬體作為記憶體
DMA 簡介
第 7 章:如何調用函數和使用堆疊
堆疊
帶鏈接的分支
如何嵌套函數調用
函數參數和返回值
如何管理寄存器
函數調用演算法摘要
堆疊幀
第 8 章:與 C 和 SDK 互動
如何調用 C 程式
如何從 C 調用組合語言程式
如何處理內嵌 C 程式
如何使用 SDK 標頭檔
第 9 章:如何編程內建硬體
GPIO 引腳
模擬到數字
PWM
第 10 章:如何設置和捕獲中斷
概述
如何創建中斷處理程序
計時器範例
第 11 章:如何初始化和互動可編程 I/O
概述
SDK 支援
PIO 指令
如何控制時序
範例
第 12 章:如何將 Pico 連接到 IoT
連接選項
使用 UART 或 I2C
網際網路基礎
安全性
第 13 章:乘法、除法和浮點數
乘法協處理器
除法協處理器
插值
浮點數庫
第 14 章:多處理
使用兩個 CPU 核心
如何同步和共享資源
受眾:中級