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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Sridhar Anandakrishnan
About this chapter
Cite this chapter
Anandakrishnan, S. (2018). Programming in Cog-C Mode. In: Propeller Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3354-2_13
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3354-2_13
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3353-5
Online ISBN: 978-1-4842-3354-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)