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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/20/01 06:03
Read: times


 
#14233 - RE: 8051 assembly language endianness
The answer is big endian, the MSB is stored in the lowest address.

I can understand the confusion for Intel made quite a mess out of the 8051 in this respect.
- 16 bit operands use big endian.
- DPL and DPH are stored in little endian
- TL0, TL1, TH0 and TH1 are completely mixed

Why does Intel call it a "logical" circuit anyway?

The same mess is created with some control bits as well.
- Most multi bit settings are with MSB first
- Serial mode bits SM0 and SM1 are just the other way around!

Happy programming

List of 9 messages in thread
TopicAuthorDate
8051 assembly language endianness            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      
RE: 8051 endianness - San Bergmans            01/01/70 00:00      
80c32 linked to an eprom            01/01/70 00:00      
RE: 8051 assembly language endianness            01/01/70 00:00      

Back to Subject List