Learn to program the Propeller in Spin and C and how to map the Propeller Assembler (PASM) language 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.
Inhaltsverzeichnis
Part 1: Introduction. - Chapter 1: Introduction. - Chapter 2: Steim Compression. - Chapter 3: Introduction to Spin. - Chapter 4: Test Driven Development (TDD). - Chapter 5: Compression in Spin. - Part 2: 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. - 17: Concluding thoughts.