Passing values to assembler from c18 C?

Discussion in 'Embedded Systems and Microcontrollers' started by spinnaker, Jan 31, 2011.

  1. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    Can anyone tell me or better point me to a tutorial on passing values from Microchip C18 C ?

    Also how assembler can access variables defined in C would be helpful.

    I have looked at the code in some of the C18 source and since I am just starting to learn assembler, it is a little difficult to figure out what they are doing.