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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/11/06 06:59
Read: times


 
#120006 - big endian
Responding to: ???'s previous message
Oleg Sergeev said:
depend on compiler it may use Big or Little Endian format to place 16-bit value into program memory.

IMHO, the '51 convention is big endian - all of the '51 asms I tried did it this way (not that I tried all of them).
Of course there is little direct implication in the '51 core itself, as there are almost no 16-bit data instructions (only mov dptr,#xxxx and stack push on call, but both are quite irrelevant for the case); all of these is a convention only.

But, this convention is completely in line with Intel's complete confusion plan - 8080 is little endian, so why would an another 8-bitter of the same era be similar? :-)))

JW

List of 9 messages in thread
TopicAuthorDate
Lookup table, manual            01/01/70 00:00      
   if you want a maintenance nightmare            01/01/70 00:00      
   Lookup table            01/01/70 00:00      
   Lookup table.            01/01/70 00:00      
   correct            01/01/70 00:00      
      big endian            01/01/70 00:00      
         little endian (just to add some confusion:)            01/01/70 00:00      
            little endian -8051            01/01/70 00:00      
      Thanks Oleg            01/01/70 00:00      

Back to Subject List