• Pointer pointing at the wrong data
    hi all, I've been trying to send a prefixed data to my 8051 TXD vt the following command: ORG 000H LJMP SETUP ORG 003H ;External Interrupt 0 CLR P3.6 LCALL EXT_INTERRUPT RETI ORG...
  • How to point table(code)?
    I write a program as following. I want to point a table for driving step motor to ccw or cw. But I cant access code table data. Please help me. Thanx. #include <reg52.h> void main(void) { ...
  • Whats wrong with this code?
    unsigned char sectors_per_cluster; unsigned int *pi; unsigned long *pl; pi = (unsigned int *)&raw_block[FAT_BYTES_PER_SECTOR]; partition.bytes_per_sector = *pi++; partition.sectors_per_cluster ...
  • Wrong code generation.
    I'm using the Keil C251 Compiler Optimizing 80251 C Compiler Version 1.x (DLL 1.24) The following instruction is in a function called after an SIO Interrupt: byLength = abyRecBuf[0] And the...
  • What's wrong with this code
    Well my program is a car security system which detects intrusion ,fire,gas using 4 sensors and sends an sms via GSM modem. Given below is my code which is in BASCOM software which when compiled given...