Accessing Accumulator in C

Version 1
    Question: In PSoC Designer, is it possible to access the accumulator in C?

     

    Answer:

    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.