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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/03 00:03
Read: times


 
#53199 - RE: Big Endian or Little Endian?
Responding to: ???'s previous message
Christian,

Byte Sex refers to the order a multi-byte value is "stored" into memory. In regard to code store, the 8051 looks big-endian.

Now your example does not include a true multi-byte numberic value (although it is a multi-byte instruction) because it uses the ACALL format. An LCALL instruction uses a multi-byte numeric (the 16 bit address of the sub-routine).

If you code:

   LCALL  SUB@ABCD   ;A subroutine who's addrs = 0ABCDH


It assembles to (in Hex representation):

12ABCD

regards,
p


List of 17 messages in thread
TopicAuthorDate
Big Endian or Little Endian?            01/01/70 00:00      
   RE: Big Endian or Little Endian?            01/01/70 00:00      
   RE: Big Endian or Little Endian?            01/01/70 00:00      
      RE: Big Endian or Little Endian?            01/01/70 00:00      
         RE: Big Endian or Little Endian?            01/01/70 00:00      
            RE: Big Endian or Little Endian?            01/01/70 00:00      
         RE: ambidextrous            01/01/70 00:00      
            RE: ambidextrous            01/01/70 00:00      
            RE: // Andy            01/01/70 00:00      
               RE: // Andy            01/01/70 00:00      
               RE: Andy - idioms            01/01/70 00:00      
      RE: Big Endian or Little Endian?            01/01/70 00:00      
         RE: Big Endian or Little Endian?            01/01/70 00:00      
            RE: Big Endian or Little Endian?            01/01/70 00:00      
               RE: Big Endian or Little Endian?            01/01/70 00:00      
                  RE: Big Endian or Little Endian?            01/01/70 00:00      
   RE: Big Endian or Little Endian?            01/01/70 00:00      

Back to Subject List