Advertisement

Programming in Cog-C Mode

  • Sridhar Anandakrishnan
Chapter
  • 574 Downloads

Abstract

In the previous chapter, we programmed the Propeller in the large memory model where the code was all stored in hub memory and instructions were downloaded to a cog one at a time for execution. This exacts a performance penalty. If the code you want to run on a cog will fit entirely within the cog (496 longs), then you can write that code in such a way that it is copied to the cog all at once and runs on the cog natively.

Copyright information

© Sridhar Anandakrishnan 2018

Authors and Affiliations

  • Sridhar Anandakrishnan
    • 1
  1. 1.Department of GeosciencesUniversity ParkPennsylvaniaUSA

Personalised recommendations