© Sridhar Anandakrishnan 2018
Sridhar AnandakrishnanPropeller Programminghttps://doi.org/10.1007/978-1-4842-3354-2_6

6. Propeller Assembler: PASM

Sridhar Anandakrishnan1 
(1)
Department of Geosciences, University Park, Pennsylvania, USA
 

Now that we are all up to speed on Spin, let’s plunge into PASM. Here I introduce the form and structure of PASM cogs and the details of PASM instructions.

In addition, I spend some time talking about how to pass information from the main cog (generally the driver program in Spin) to the PASM cogs. In this chapter and the next one, we will need to pass all the same variables (nsamps, sampsBuf, etc.) to the PASM cog as we did in the Spin version.

Remember, the cogs are almost completely independent of each other. To communicate ...

Get Propeller Programming: Using Assembler, Spin, and C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.