• Problem with long value multiplication
    Dear sir, i used the compiler for long value multiplication it works good upto 69 multiplied by 10000. after that it doesn't show any error in compiling. it stores the values within 65536. After that...
  • problem regarding garbage value
    Hi, I have developed a software in c(embedded).I used c51 compiler,8051(ATmel) microprocessor.I programmed to spot billing machines(machines that generate electricity bills) with the software.It is...
  • Problem with structs as return values
    I am using functions, which returns structs. This shouldn't be a problem in C. And it works mostly. But are there contexts where this is not allowed? Maybe there a conflicts because those structs...
  • Problem with Transfering SBUF value
    Hi i m finding a problem in moving SBUF value to someother variable . My Code is serial () interrupt 4 { unsigned int ch[2]; static int i=0; if (RI) { if (i<2) { ch[i]=SBUF; i=i+1; } if...
  • Problem setting the port value
    I have the following code lines that worked well with SDCC compiler: data at 0x90 unsigned char motor1 = 0; // PORT 1 (90h) data at 0xB0 unsigned char motor2; // PORT 3 (B0h) But, when it does...