Big-Endian

Hi,

We are using NXP LPC11C35 and µVision v4.71.2.0.
We want to use big-endian format at our variables.
At Keil->Project->Options->Target->Code generation->big endian checkbox is disabled.
Is it possible for the specific uC to use big-endian format?
If yes, how can we achieve that?

Thanks in advance.

Parents
  • We want to use big-endian format at our variables.

    Even though your CPU is little endian, you can still do it. Simply explicitly convert the value to big endian every time you save it in a variable.
    But why would you want to do it? Surely you can ask your question in a more meaningful way?

Reply
  • We want to use big-endian format at our variables.

    Even though your CPU is little endian, you can still do it. Simply explicitly convert the value to big endian every time you save it in a variable.
    But why would you want to do it? Surely you can ask your question in a more meaningful way?

Children
More questions in this forum