8 Replies Latest reply on Apr 28, 2015 2:38 PM by user_1377889

    Help sharing variables between C and Assembly.

    chris.reins
          
           

      I'm trying to update the software for a firmware chipset, and I'm having trouble understanding how variables are passed between C and assembly. When I try to compile, I get these errors:

           

      https://gist.github.com/anonymous/d79f8f9734865a3ec1fe

           

      These variables are defined in global.h here:

           

      https://gist.github.com/anonymous/d81de7895838eaa41361

           

      Also, lib/timer8_1int.asm is pretty short, so here it is:

           

      https://gist.github.com/anonymous/848875129e7cf16e110f

           

      Thank you for your time.

           

      I'm using PSoC Designer 5.4 to write and compile this code, if that helps anyone.