Propeller Programming: Using Assembler, Spin, and C
- Length: 315 pages
- Edition: 1st ed.
- Language: English
- Publisher: Apress
- Publication Date: 2018-04-05
- ISBN-10: 1484233530
- ISBN-13: 9781484233535
- Sales Rank: #2348951 (See Top 100 Books)
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.
Table of Contents
Part I: Introduction
Chapter 1: Introduction
Chapter 2: Steim Compression
Chapter 3: Introduction to Spin
Chapter 4: Test-Driven Development
Chapter 5: Compression in Spin
Part II: Spin and PASM
Chapter 6: Propeller Assembler: PASM
Chapter 7: Interacting with the World
Chapter 8: Implementing the Compression Code in PASM
Chapter 9: Compression in PASM with TDD
Chapter 10: Decompression in PASM
Chapter 11: Debugging PASM Code
Part III: C Language
Chapter 12: C Programming for the Propeller
Chapter 13: Programming in Cog-C Mode
Chapter 14: Programming with C and PASM
Chapter 15: Hardware I/O with C
Chapter 16: Using Inline Assembly Instructions in C Code
Chapter 17: Concluding Thoughts