0%

Book Description

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. 

Table of Contents

  1. Cover
  2. Front Matter
  3. Part I. Introduction
    1. 1. Introduction
    2. 2. Steim Compression
    3. 3. Introduction to Spin
    4. 4. Test-Driven Development
    5. 5. Compression in Spin
  4. Part II. Spin and PASM
    1. 6. Propeller Assembler: PASM
    2. 7. Interacting with the World
    3. 8. Implementing the Compression Code in PASM
    4. 9. Compression in PASM with TDD
    5. 10. Decompression in PASM
    6. 11. Debugging PASM Code
  5. Part III. C Language
    1. 12. C Programming for the Propeller
    2. 13. Programming in Cog-C Mode
    3. 14. Programming with C and PASM
    4. 15. Hardware I/O with C
    5. 16. Using Inline Assembly Instructions in C Code
    6. 17. Concluding Thoughts
  6. Back Matter
18.191.189.85