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
It's an 8-bit controller - so it deals only in bytes. Any multi-byte operations have to be entirely synthesised by the compiler - so the answer to your question will be found in the compiler Manual
http://www.keil.com/support/man/docs/c51/c51_ap_datastorage.htm http://www.keil.com/support/man/docs/c51/c51_ap_2bytescalar.htm http://www.keil.com/support/man/docs/c51/c51_ap_4bytescalar.htm etc...
The exception is any multi-byte SFRs - which will be defined in the chip's Datasheet