You are here

Accessing Accumulator in C | Cypress Semiconductor

Support & Community

Accessing Accumulator in C

Last Updated: December 05, 2010

In PSoC Designer, is it possible to access the accumulator in C?


There is no direct method to access the accumulator in C.  But it may be accessed by using inline assembly.  For example, to write a value to Accumulator:

asm (“mov A, 05”);

For more info on inline assembly, refer the ‘C Language User Guide’ in the Help >> Documentation menu in PSoC Designer.

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type