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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/18/02 14:38
Read: times


 
#21895 - RE: help with memory mappind and LCD´s m

hello erik!

I will answer in items :-)

erik malund wrote:
-------------------------------
You are utterly confused.

Yes... I really am :-( The problem is that I only worked with assembly using Z80 or 8080... and now I know that they use a diffrente conception of memory than 8051 (Von Neumann x Harvard, isn´t it?)

"if I can't read data from external memory and put it in the code memory... what is the importance from external memory?"
--- Why on earth do you want to put it in code memory, you have just read it.

Due to my idea of storing and changing words... the phrase is in the code memory, the alterations are in the Xdata... in fact my problem is that I never realized that Xdata is one area and code memory is another... they aren't a contiguous space (my idea of memory was Z80-like)... the development kit that I used reforced my misunderstandment... when you code with it you selected 0-Internal memory or 1-external memory... we always used 1, so we were working in the Xdata area all the time (including the code that I wrote)... and I was thinking that was true with every implementation of 8051

"I can't move a block of memory from code memory to external memory..."
--- Yes you can

right... I can read each position from a block and use XMOV instructions...

" I can't move a block from external memory to code memory... "
--- correct

that is my problem... it would be great if that was possible... but, now I see that the code area is, conceptually, a ROM...

"it seems good only if that external memory is being read by another device than the 8051... "
-- balderdash
???????????
by that you mean??? BS??


"If I could do this I could have all the words that I want to display in the XDATA and could read the whole word at once"
--- that is how it is done, have a display output buffer, move your constant text from code memory to the buffer, add your variable data to the buffer, then display it.

now I know :-)

thanks a lot :-)
Erik


List of 13 messages in thread
TopicAuthorDate
help with memory mappind and LCD´s msg            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      
RE: help with memory mappind and LCD´s m            01/01/70 00:00      

Back to Subject List