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

Back to Subject List

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


 
#22293 - RE: Declaration\\\'s syntax
"I am not going to use C syntax in assembler - I want to access SFR variable only!"

What you actually want is a common syntax, so that you can use the same declaration in both 'C' and Assembler.
Unfortunately, there is (apparently) no such common syntax. :-(

"it is not possible to access SFR variables declared in C"

Well, not exactly...
In your assembler, you must use assembler syntax to define it; and in 'C' you must use 'C' syntax - the Linker takes care of ensuring that both symbols actually refer to the same object!


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