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.
Auflage
Sprache
Verlagsort
Zielgruppe
Illustrationen
62
62 s/w Abbildungen
XVI, 315 p. 62 illus.
Maße
Höhe: 235 mm
Breite: 155 mm
Dicke: 19 mm
Gewicht
ISBN-13
978-1-4842-3353-5 (9781484233535)
DOI
10.1007/978-1-4842-3354-2
Schweitzer Klassifikation
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!
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.