• Fast Long Roll
    Here is a solution looking for a problem. It is a faster alternative to the Keil _lrol_ function, on average it requires only 30% of the time taken by _lrol_ . _lrol_ is quicker when shifting one or two...
  • Use BVS/BCS for fast overflow check with long long
    Hi, I need some long long (64 bit) additions in a fast interrupt code. After each addition, I need to limit the result to MIN/MAX_INT64 if some overflow occurred. In assembler, I would use the...
  • 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...
  • 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.
  • ARM7 printf long long int
    Hi, my program does not do the expected things, printf a unsigned long long int. #include <aduc7026.h> #include"stdio.h" void RS232_init(void); int main (void) { unsigned long long int A; RS232_init...