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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/28/08 15:41
Read: times


 
#160373 - Addressing modes do matter
Responding to: ???'s previous message
You said it. Oh yes, complaints; on the other hand, zillions of programs living with this limitation quite well.


Yes, I said it. But you failed to pick up on it.

The 8086/8088 is a 16-bit processor. It is not a 8-bit processor with a hard time to just about produce a 16-bit address. It has full 16-bit adressing with base pointer, index and offset at the same time.

An 8051 isn't even close. While it may be able to walk through a 16-bit address space, it has to bend its back until it cracks to compute real 16-bit effective addresses.

What I said was that the "slightly" corny way to go from 16 to 20 bits in the 8088 was complained about a lot. And in this case we are instead talking about a processor that don't even have instructins to perform even 16-bit address calculations.

External data? I never talked about external data. It does not matter if you have the RAM externally or internally. The problem is that the 8051 architecture - while having lived quite well for many years - are not suited for addressing large amounts of data. It is a question of instruction set, not electrical connections.

If the RAM is not intended to store "variables", then the RAM is probably the wrong memory architecture in the first place. If storing configuration data or a logg or similar, then EEPROM, FRAM or similar is probably way better suited. The big thing with RAM as memory architecture is an almost constant-time (depending on processor architecture etc) access to any address and no wear for read or write. A serial EEPROM works perfectly for implementing a "database" on a 8051 or similar and will at the same time keep the data after a reboot or power loss. It works so well that a competent developer would most probably not ask what type of controller that has most amount of RAM in such a case.

I say, there ARE valid reasons to attach big storage to a '51.

Yes, but very seldom reasons for attaching big storage in the form of RAM to a 8051 processor.

Remember that it was you who claimed that it is trivial to access large memory on the 8051 (despite loosing the compiler support for it) and basically classified the original PC as an 8-bitter.

List of 35 messages in thread
TopicAuthorDate
Need bigger RAM            01/01/70 00:00      
   find out here            01/01/70 00:00      
   MCS-51 is the best            01/01/70 00:00      
      Not for BIG RAM!            01/01/70 00:00      
         why not?            01/01/70 00:00      
            Disagree            01/01/70 00:00      
            Address range does matter            01/01/70 00:00      
               still, why not            01/01/70 00:00      
                  while I agree with Per, here is a nugget for Jan            01/01/70 00:00      
                     Large data:: Yes, large RAM: Watch out            01/01/70 00:00      
                     particular application of OP, not yours, matters            01/01/70 00:00      
                        And the best is...            01/01/70 00:00      
                        but added complexity equals likely more buggy            01/01/70 00:00      
                  "best" is the key.            01/01/70 00:00      
                  Addressing modes do matter            01/01/70 00:00      
               Why would anyone use THAT architecture?            01/01/70 00:00      
                  Helps to check context before reacting            01/01/70 00:00      
                     It is the architecture and not the brand            01/01/70 00:00      
                        Sorry if unclear            01/01/70 00:00      
            Quick PC history            01/01/70 00:00      
               engineering insight            01/01/70 00:00      
                  What was your point?            01/01/70 00:00      
            Possible to 16Mbyte            01/01/70 00:00      
      I use MCS51            01/01/70 00:00      
         So why didn't you say that in the first place?            01/01/70 00:00      
            The universal truth again            01/01/70 00:00      
               64kB RAM?            01/01/70 00:00      
                  Both            01/01/70 00:00      
                     don't be deceived by Keil's database            01/01/70 00:00      
                        Good to know            01/01/70 00:00      
         '51 vs '52            01/01/70 00:00      
         even with AT89C2051 can be done            01/01/70 00:00      
   ... and the BIGGEST is...            01/01/70 00:00      
      Is that RAM on-chip?            01/01/70 00:00      
      Maybe biggest, but BEST?            01/01/70 00:00      

Back to Subject List