• Different memtype order necessary?
    Hi I'd like to put a struct typedef struct { U32 a; U8 b[8]; U8 c; } MyType; ... MyType xdata *pMyVar; in XRAM to a particular address section that starts at 0x1000. Therefore...
  • Different memtype order necessary?
    Hi I'd like to put a struct typedef struct { U32 a; U8 b[8]; U8 c; } MyType; ... MyType xdata *pMyVar; in XRAM to a particular address section that starts at 0x1000. Therefore...
  • C51 v8.17 saving/restoring all registers in interrupt function with assembly src
    C51 will generate different code for the following function: void timer1 (void) interrupt 3 { second; #pragma asm clr TF1 #pragma endasm } Compiler v8.08 code (edited) USING 0 timer1...
  • C51 v8.17 saving/restoring all registers in interrupt function with assembly src
    C51 will generate different code for the following function: void timer1 (void) interrupt 3 { second; #pragma asm clr TF1 #pragma endasm } Compiler v8.08 code (edited) USING 0 timer1...
  • Is the 'S' necessary in the asm code?
    Hi, Before I write some Cortex A8 assembly code, I review some disassembly code of a small C program. In the following snippet, I don't understand the necessity of 'S' in ADDS. In fact, I don't see the...