Skip to main content
  • Book
  • © 2018

Propeller Programming

Using Assembler, Spin, and C

Apress
  • Great singular reference to learn assembly and C
  • Learn how to program the propeller in Spin
  • Provides a map to use other high-level languages for programming the Propeller

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (17 chapters)

  1. Front Matter

    Pages i-xvi
  2. Introduction

    1. Front Matter

      Pages 1-1
    2. Introduction

      • Sridhar Anandakrishnan
      Pages 3-16
    3. Steim Compression

      • Sridhar Anandakrishnan
      Pages 17-23
    4. Introduction to Spin

      • Sridhar Anandakrishnan
      Pages 25-43
    5. Test-Driven Development

      • Sridhar Anandakrishnan
      Pages 45-52
    6. Compression in Spin

      • Sridhar Anandakrishnan
      Pages 53-73
  3. Spin and PASM

    1. Front Matter

      Pages 75-75
    2. Propeller Assembler: PASM

      • Sridhar Anandakrishnan
      Pages 77-103
    3. Interacting with the World

      • Sridhar Anandakrishnan
      Pages 105-138
    4. Implementing the Compression Code in PASM

      • Sridhar Anandakrishnan
      Pages 139-161
    5. Compression in PASM with TDD

      • Sridhar Anandakrishnan
      Pages 163-192
    6. Decompression in PASM

      • Sridhar Anandakrishnan
      Pages 193-211
    7. Debugging PASM Code

      • Sridhar Anandakrishnan
      Pages 213-224
  4. C Language

    1. Front Matter

      Pages 225-225
    2. C Programming for the Propeller

      • Sridhar Anandakrishnan
      Pages 227-251
    3. Programming in Cog-C Mode

      • Sridhar Anandakrishnan
      Pages 253-265
    4. Programming with C and PASM

      • Sridhar Anandakrishnan
      Pages 267-277
    5. Hardware I/O with C

      • Sridhar Anandakrishnan
      Pages 279-300
    6. Using Inline Assembly Instructions in C Code

      • Sridhar Anandakrishnan
      Pages 301-308

About this book

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. 

Authors and Affiliations

  • Department of Geosciences, University Park, Pennsylvania, USA

    Sridhar Anandakrishnan

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!

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access