• code doesnt execute properly
    I have seembled an asembly program and linked its .obj file to the .obj of compild c source file through command line . This assembly function is called from a c source code,but I face a problem that...
  • #ifndef does not work properly
    Hello! I want to include the same headerfile in more than one sourcefile and of course have to take care that each Headerfile is included just once. I really have no clue, why this works for...
  • sscanf does not work properly
    I started to use the sscanf function to parse commands from serial port and found out that it does not work as it must do. Example: int i, j = 0x1234; char c = '\0'; i = sscanf("anything", "%d%c",...
  • Write Function Call does not work properly
    Hi, I need to write to specific memory location, but when the program calls the function to do it, it does not. This is the function void EEPROMwrite(unsigned int adr, unsigned int dat) { EA=0;...
  • Write Function Call does not work properly
    Hi, I am trying to use the EEPROM sample program to write to and read from memory. When I used the simulator it works fine (DEECON = 0x00;), but when I use the emulator it does not work. The fact that...