• Useless Moves Coding Style
    There were a couple of questions regarding coding style in the previous thread. 1) The problem is that I am a strong advocate for the OOP principle of data encapsulation and inheritance. Though C...
  • Useless Moves Coding Style
    There were a couple of questions regarding coding style in the previous thread. 1) The problem is that I am a strong advocate for the OOP principle of data encapsulation and inheritance. Though C...
  • useless R7
    bit CheckPacket(void) { unsigned char idata *pBuf = g_UART0Buf; unsigned char len, checksum; if (*pBuf == PACKET_START_ID / 256) { pBuf++; if (*pBuf == PACKET_START_ID % 256) { pBuf++; len...
  • useless R7
    bit CheckPacket(void) { unsigned char idata *pBuf = g_UART0Buf; unsigned char len, checksum; if (*pBuf == PACKET_START_ID / 256) { pBuf++; if (*pBuf == PACKET_START_ID % 256) { pBuf++; len...
  • useless arm asm instructions
    Note: This was originally posted on 10th December 2009 at http://forums.arm.com Hi, Still trying to learn arm asm and this time there is a construct I don't understand : void add_chunk(somestruct* ptrSomeStruct...