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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/28/02 08:31
Read: times


 
#22224 - Declaration\\\\\\\'s syntax in C and assembler
Hi!
Declaration's syntax in Raisonance RC-51 for any bits of i/o ports is for example:
sbit OUTPUT1 = P0^1
When I want to use the same pin in assembler module (RA-51), I must declare:
OUTPUT1  BIT  P0.1
Is it possible to use declarations from C module in assembler module? In example in the same way like EXTERN DATA (buffer). In this moment I am making declarations separately, but it is easy to make mistake when both modules are using the same pins and I have to change the code...

Jacek

List of 10 messages in thread
TopicAuthorDate
Declaration\\\\\\\'s syntax in C and assembler            01/01/70 00:00      
RE: Declaration\\\\\\\'s syntax in C and assembler            01/01/70 00:00      
RE: Declaration\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s s            01/01/70 00:00      
RE: Declaration's syntax            01/01/70 00:00      
RE: Declaration\\\'s syntax            01/01/70 00:00      
RE: Declaration\\\\\\\\\\\\\\\\\\\\\\\\\            01/01/70 00:00      
RE: Declaration\\\\\\\\\\\\\\\\\\\\\\\\\            01/01/70 00:00      
RE: Declaration\\\\\\\\\\\\\\\\\\\\\\\\\            01/01/70 00:00      
RE: in Keil...            01/01/70 00:00      
RE: Declaration\\\\\\\'s syntax in C and assembler            01/01/70 00:00      

Back to Subject List