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 16:55
Read: times


 
#109428 - Another reason to drop assembler?
Responding to: ???'s previous message
OK, not terribly helpful. I have dropped ASM almost entirely and I think my last project with a .ASM file also used .H includes, but only for project-wide hardware or compile-time options. So I know that sbit works, but is probably not what you are looking for. I suspect Keil supports .H files primarily for constants, so they may not support everything. 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). Gross.

Maybe you can use a quirky conditional that recognizes which file the header is being included in and uses assembler syntax?

GB


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