sorry i forgotten the hardware definition (an empty file doesn't work) / *** hardware.h ***/ #ifndef HARDWARE_H #define HARDWARE_H
#include <io.h> #include <signal.h> #include <iomacros.h> // put here your hardware description like : #define P10OUT_PIN 0x01 #endif //HARDWARE_H / *** end of hardware.h ***/ ----- Original Message ----- From: Frederic Beaulieu To: mspgcc-users@lists.sourceforge.net Sent: Wednesday, August 24, 2005 3:02 PM Subject: RE: [Mspgcc-users] Assembler file organisation Is there someone who know how to call an assembler function define in a .S file from a C program? -------------------------------------------- Frederic Beaulieu, M.Sc. Research and Development NewTrax Technologies Inc. http://www.newtraxtech.com/ -----Original Message----- From: mspgcc-users-ad...@lists.sourceforge.net [mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Frederic Beaulieu Sent: Tuesday, August 23, 2005 11:43 AM To: MSP430 mspgcc Groups Subject: [Mspgcc-users] Assembler file organisation Hi all, I want to do my next project using only assembly to learn a little bit more about this language. I never use it before. I wonder if someone can explain to me how to manage a large project (how you manage your file .s .S .h, how you separate your function in these files, how you organize your comments, etc). The example from TI are to basic to learn from these (too small). May be you can send me one of your old (even very old ;)) project. Thanks in advance! Fred