
Propeller Programming
Using Assembler, Spin, and C
Sridhar Anandakrishnan(Author)
APress
Published on 10. March 2018
Book
Paperback/Softback
XVI, 315 pages
978-1-4842-3353-5 (ISBN)
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
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.
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)
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.
More details
Edition
First Edition
Language
English
Place of publication
Berkeley
United States
Target group
Professional and scholarly
Illustrations
62 s/w Abbildungen
XVI, 315 p. 62 illus.
Dimensions
Height: 235 mm
Width: 155 mm
Thickness: 19 mm
Weight
511 gr
ISBN-13
978-1-4842-3353-5 (9781484233535)
DOI
10.1007/978-1-4842-3354-2
Schweitzer Classification
Other editions
Additional editions

E-Book
03/2018
APress
€56.99
Available for download
Person
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!
Content
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.