Propeller Programming: Using Assembler, Spin, and C
- 3h 4m
- Sridhar Anandakrishnan
- Apress
- 2018
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.
About the Author
Dr. Sridhar Anandakrishnan is a Professor of Glaciology and Geophysics at Pennsylvania State University where he studies the flow of glaciers in Antarctica and Greenland. Sridhar uses the Propeller chip in a seismic data acquisition device that we use "On The Ice" as they say!
In this Book
-
Introduction
-
Steim Compression
-
Introduction to Spin
-
Test-Driven Development
-
Compression in Spin
-
Propeller Assembler: PASM
-
Interacting with the World
-
Implementing the Compression Code in PASM
-
Compression in PASM with TDD
-
Decompression in PASM
-
Debugging PASM Code
-
C Programming for the Propeller
-
Programming in Cog-C Mode
-
Programming with C and PASM
-
Hardware I/O with C
-
Using Inline Assembly Instructions in C Code
-
Concluding Thoughts