• remainer of division
    C has one shortcoming that keeps bothering me. When converting a number from binary to decimal, we typically do something like : int n,d; for (i=0; i<5; ++i) { d=n%10; n/=10; display_area...
  • Even Parity
    Hi, I'm New to this Forum, I just wish to know how to configure 8051 Serial Communication for Even parity, what are the registers to configure, Please someone help me out in this
  • Calculate free remaining stack space
    Hi, I would like to calculate the free remaining stack space during run time. I tried to access the r13 register with: LPSTR pcSP; { register volatile int mySP __asm("sp"); pcSP= (LPSTR)mySP;...
  • Problem with Serial I/O - S0BUF remains empty
    Hello, I'm trying to write a Function that reads a character from RS232 (trival?). I'm using 80c552, Serial_Mode=1. I think the baudrate is set correct (I can transmit data to the PC). The Problem...
  • How to remain some area of flash for write data?
    platform : lpc2132 compiler: keil I want to remain one bank of flash to write data, for example: 0x1fff - 0x2fff empty ( do not write any program code) My program write something to the bank. How...