• Bug in compiler.
    I use evalution version 3.36 of keil compiler. Consider compilable code: #include <REG52.H> typedef unsigned char BYTE; BYTE BufStart = 0; BYTE BufStop = 0; BYTE IP_ADDR[1]; void send_byte(char...
  • bug in the compiler??
    Hi All, I don't believe this is actually a bug, but can anybody explain why this code works correctly void func(int v1, int v2){ unsigned char code tbl[] = {'a', 'b', 'c', 'd', 0, '1', '2', '3',...
  • Compiler bug
    Hi everybody, I'm using uVision 5.10.0.2. I have the following code: 1. double l_fDouble = 567.8; 2. int l_iInt = 600 | 0x80000000; 3. bool l_bCondition = true; 5. t_UInt32 l_iResult = (t_UInt32...
  • Is it a compiler bug??
    unsigned int Begin; ... Begin=*(U16 CODE *)Begin; ... ;---- Variable 'Begin' assigned to Register 'DPTR' ---- 002C 8F82 MOV DPL,R7 002E F583 MOV DPH,A ; SOURCE LINE # 82 0030 E4 CLR A 0031 93 MOVC...
  • Compiler bug?
    I have been previously been using MDK-ARM V4.53 and have recently upgraded to V4.60. When using O2 optimisation I started getting a compiler "may be used before being set" warning that I never got with...