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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/18/03 05:48
Read: times


 
#60922 - RE: RTFM!
Responding to: ???'s previous message
thanks andy

I just did the same way you said

In a51 file

t32 DATA 0x52
PUBLIC t32

in C file extern unsigned char t32;

it is working, really speaking I have tried simillar thing before but there was some problem so thought I have made a mistake so i started from tail.

thanks
it is atleast showing change in t32 value in debug mode of keil.

well On keil web forum i got one more suggestion to use absass.h
i.e.
# define final DBYTE[0x52]
(final is some name )

now here is there a possiblity to some thing like
final=0x01;?
as i want to write at location 0x52


thanks
sachin

List of 18 messages in thread
TopicAuthorDate
Asm variables from C keil            01/01/70 00:00      
   Answer already on Keil forum            01/01/70 00:00      
      RE: Answer already on Keil forum            01/01/70 00:00      
   RE: Asm variables from C keil            01/01/70 00:00      
      Cross-posting            01/01/70 00:00      
   RE: Asm variables from C keil            01/01/70 00:00      
      RE: Asm variables from C keil            01/01/70 00:00      
         RE: Asm variables from C keil            01/01/70 00:00      
            RE: Asm variables from C keil            01/01/70 00:00      
               RE: Asm variables from C keil            01/01/70 00:00      
                  RE: Asm variables from C keil            01/01/70 00:00      
      RTFM!            01/01/70 00:00      
         RE: RTFM!            01/01/70 00:00      
            RE: RTFM!            01/01/70 00:00      
               RE: RTFM!            01/01/70 00:00      
                  Dont do it!            01/01/70 00:00      
   RE: Asm variables from C keil off topic            01/01/70 00:00      
      RE: Asm variables from C keil off topic            01/01/70 00:00      

Back to Subject List