We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, Can anyone tell me what is the byte ordering in C8051F020 SiLabs Microcontroller? Whether it is a Little Endian or Big Endian?
Thanks
There are, however, some other 16-bit SFRs.
You have to load the bytes individually - but, again, check in the Datasheet for the order.
Note that Keil's sfr16 does not necessarily match a specific chip's required order...
There are, however, some other 16-bit SFRs OK, but they are not "in the processor" and the 'byte ordering' is not mandatory. Yes it is 'standardized' for the 'traditional, but were I to design a chip (fat chance) with a 16 bit register I could legally put the high and low byte SFRs in any order, even far apart, should I wish.
also there are no "16-bit SFRs" but some interface registers that are associated with 2 (8 bit) SFRs to make a 16 bit register
Erik