Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/07/06 18:36
Modified:
  02/07/06 19:45

Read: times


 
#109434 - Auto-edit
Responding to: ???'s previous message
Dan Henry said:
Grant Beattie said:
In the old days (before .H would work in .asm) we had to have two includes, one in assembler (.INC) and one in C (.H)

... with one being auto-generated from the other using text processing tools as part of the build process.

Perhaps a subset of this technique could be used to massage those 'extern bit' lines in the programmer-maintained .h file yielding a second file at build time that the assembler preprocessor can digest. A 1-line sed script might be enough.

List of 12 messages in thread
TopicAuthorDate
Keil anomaly            01/01/70 00:00      
   Did you try it in C            01/01/70 00:00      
      it IS my C .h file            01/01/70 00:00      
         Does this thread give a hint ?            01/01/70 00:00      
            hint? yes and no            01/01/70 00:00      
   syntax            01/01/70 00:00      
      yes, but            01/01/70 00:00      
         dummy C ?            01/01/70 00:00      
   Another reason to drop assembler?            01/01/70 00:00      
      oh, I have that            01/01/70 00:00      
      Auto-edit            01/01/70 00:00      
         Auto-edit            01/01/70 00:00      

Back to Subject List