Suhaas Koparde

Using assembly in Codewarrior C

Discussion created by Suhaas Koparde on Jun 16, 2008
Latest reply on Jun 18, 2008 by CrasyCat
Hello Forum members,
I am using Codewarrior V4.6 build 6345 for MC9S12GC32CPB16. My project is having some of the files in assembly for speed optimization. These assembly files need to access some constants and variables from C code and viceversa (from assembly to C). How do I pass/retrieve constants, variables to/from C and assembly? Can I use header files (.h) with assembly code for defining constants etc?
Thanks in advance.