相關主題
商品描述
Learn to program the propeller in Spin and C and how to map the Propeller Assembler language (PASM) from other high-level languages you might know.
The overall task you will pursue in the book is to implement a Delta Compression algorithm: first in Spin, then in PASM, then in C. Along the way, you'll review Test Driven Development, a powerful technique for validating code, and conclude with a chapter on hardware manipulations. The book's main goal is to help you extend the capabilities of the Propeller processor by using the Assembler language.
What You’ll Learn
- Use a data compression/decompression application to introduce PASM to the reader
- Integrate C and PASM code
- Review hardware interactions (setting and reading pins)
Who This Book Is For
Those who are familiar with Spin programming for the Parallax Propeller but have an interest in learning Propeller C and Propeller Assembler (PASM) programming. Some knowledge of C or Python is also helpful.
商品描述(中文翻譯)
學習如何使用 Spin 和 C 來編程 Propeller,以及如何將 Propeller Assembler 語言 (PASM) 從您可能熟悉的其他高級語言進行映射。
您在本書中將追求的整體任務是實現一個 Delta Compression 演算法:首先在 Spin 中實現,然後在 PASM 中,最後在 C 中。在此過程中,您將回顧測試驅動開發 (Test Driven Development),這是一種驗證代碼的強大技術,並以一章有關硬體操作的內容作結。本書的主要目標是幫助您通過使用組合語言擴展 Propeller 處理器的功能。
您將學到的內容:
- 使用數據壓縮/解壓縮應用程序向讀者介紹 PASM
- 整合 C 和 PASM 代碼
- 回顧硬體互動(設置和讀取引腳)
本書適合對象:
本書適合那些熟悉 Parallax Propeller 的 Spin 編程,但有興趣學習 Propeller C 和 Propeller Assembler (PASM) 編程的人。對 C 或 Python 有一些了解也會有所幫助。