• 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...
  • 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 Moves
    Is there a way to change the DEFINE statement to get rid of the two useless mov(s)? C51 COMPILER V6.02, COMPILATION OF MODULE MAIN OBJECT MODULE PLACED IN .\MAIN.OBJ COMPILER INVOKED BY: C:\PROGRAM...
  • value not copying in accumulator
    ORG 00H; MOV R0, #40H; MOV A, @R0; MOV 50H, A; END; the value is not copying accumulator in my keil program...uvision 5
  • printf() returns an extra character
    The application waits for a specific character "a" in the serial port using getchar() and then outputs a string using printf("hello") once the character is received. The problem is that the application...