• Access bytes of a long
    Does the C51 compiler provide a way to access the individual bytes of a long value? I can shift bits around to achieve this if I have to, but I'm looking for something faster and more efficient.
  • long data types
    Hi all, Can anyone help me with the following problem? I'm writing a long data to a long variable but instead of passing 4 Bytes it pass 3 Bytes. I'm using C51 v6.22. long var = 0xBD3C00BD; -> var...
  • Realview: Long Long types
    I am trying to port some code over to a LPC2378 ARM-7 MCU that makes use of "long long" variables. I have not been getting any compiler errors over variables being declared as "long long" but when I...
  • issues while using unsigned long data type
    I'm curious to know if anyone has had issues using unsigned/signed long data types. In previous version of software this did not present an issue, however, when I recompile the old projects and flash...
  • Individual bytes of a float type
    Is it possible to extract the bytes from a float type for storage in serial EE or flash memory?