



SHARING HEADER FILES IN C AND ASSEMBLYSometimes it is useful to be able to define named constants that can be used in both C and assembly language.
One method is to have separate header files that define the same symbols: a C include file with #define directives, and an assembler include file with .set or .asg directives.
The procedure shown in this document produces a single, shared header file that defines the symbols once for both C and assembler.
View the complete PDF document: spra205.pdf (27 K Bytes) (Requires Acrobat Reader 3.x) Go to the Engineering Design Center to locate information on other TI Semiconductor devices.
![]() ![]() ![]() ![]() (c) Copyright 1998 Texas Instruments Incorporated. All rights reserved. Trademarks, Important Notice! |