• __global_reg() don't work correctly
    I declare a global variable: __global_reg(5) pCPUCB_t Cur_CPUCB; Then I assign a value to this variable: Cur_CPUCB = &CPUCB[0]; But a compiler doesn't generate code for this assigments...
  • How to declare ECS1???
    hi... i am using ECS1 as external data n the port i haf connected it to is D0 - D7... how do i set bit for D0 -D7???
  • How to declare a structure?
    I define an area of memory that in 'non-volatile' so it doesn't get cleared on powerup. I do this is a module called memmap.asm like this: MyData DS 512 ;Located at 0x801C In another module, I want...
  • Variable declaration
    I am lost in this : Define src_ptr and dest_ptr at address 0x20001000 & 0x20002000 without assembler directives. What should I do?
  • I can define a function but can't declare
    I defined a function in file.c #include file.h unsigned char IsOWKeyRight(const CARD_KEY *Key); while I had definition typedef struct{ unsigned char ID, unsigned char ExtID, unsigned char pwd...