• Converting 'short' to 'unsigned char'
    Hi, I've to debug an application written by someone else (...) An 'unsigned char' is used to be filled with data from a 'short'. If I change the source 'short' variabele type (filled somewhere...
  • difference between short and char
    Hi all, What is the difference between the data types char and short? According to the book, they are both 8 bits and have the exact same range. Thanks, Steve
  • Which diagram of UML is suitable for describing the Interprocess Communications?
    Hello UML is more and more widely used in the development of embedded system. Embedded Operating System is more and more used in embedded system too and the communications between tasks is the main...
  • how would be a char / short variable stored?
    If I've got a struct like: struct mystruct { unsigned char first; unsigned short second; }; How would this be stored in the memory if I'm working with a 32Bit ARM7 microcontroller (SAM serie...
  • making a short out of a msb+lsb char
    Hi all, I'm new to C and need a hint on an optimization problem. I have a 16 bit counter, divided into two 8bit SFRs, let's say TH0 and TL0, and I want to transfer them to a short. I could: ...