• float and double are treated as same ?
    It seems to me that compiler treat double as float type ? I find this from .SRC and .lst file. Both float and double calls ?C_FPCMP, ?C_FPMUL and ?C_FPDIV. thanks. Daniel
  • are SFRs treated as unsigned or signed
    in the SiLabs forum someone showed SFR = -n I have never used such and became curuous. I searched the Keil documentation but could nof find it.
  • Treating a 9-bit binary in a 8-bit accumulator
    I am aware that during addition/subtraction in the accumulator, if a 9-bit value is resulted the carry bit is set, but what if this is used: mov A,-200 -200 is a 9-bit value in 2's compliment...
  • How are .h files treated in a uVision2 project?
    Hello, For me, it's still not clear why the include files ( .h ) are treated in such a cumbersome way in the uVision2 Project philosophy. When you have a project and you create a group -for instance...
  • C51: 32 bits unsigned returned values treated as signed 16 bits
    Hi! In a full project a simple unsigned long ( u32 )returned value from a function lead to this (odd) assembler code. It make us think that the u32 is considered as s16 ( signed short ). If...