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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/21/00 04:32
Read: times


 
#5204 - RE: warning "memory overlapped".
If we're speaking of a C51 compiler from Keil, then you have missplaced the variable. Memory space, that you have defined is internal RAM and this address is occupied by register R0 if memory bank 0 is used.

Your declaration would be:
unsigned char xdata thr _at_ 0x00 ;//UART BASE_ADDRESS +0

NOTE: thr is a read/write variable if put in xdata memory space. Assembly instructions used to access it would be: MOVX @DPTR,A and MOVX A,@DPTR

Regards Franc



List of 3 messages in thread
TopicAuthorDate
warning "memory overlapped".            01/01/70 00:00      
RE: warning "memory overlapped".            01/01/70 00:00      
RE: warning "memory overlapped".            01/01/70 00:00      

Back to Subject List