• A51: Error A20: INVALID SIMPLE RELOCATABLE EXPRESSION
    I have: 1. ext_port.a51 file, that contains some variables. 2. ext_port.inc file, that contains some macros, that use variables from ext_port.a51. 3. some files, that use macros from ext_port.inc....
  • A51: Error A20: INVALID SIMPLE RELOCATABLE EXPRESSION
    I have: 1. ext_port.a51 file, that contains some variables. 2. ext_port.inc file, that contains some macros, that use variables from ext_port.a51. 3. some files, that use macros from ext_port.inc....
  • Error C197: inline-asm: invalid expression token MSR CPSR_c, #(0x12|0x80)
    Hello all. I have downloaded the LPC213x sample codes for Keil, at NXP website: www.standardics.nxp.com/.../ I have tryed to compile the GPIO example, and I am getting the following error message...
  • Error C197: inline-asm: invalid expression token MSR CPSR_c, #(0x12|0x80)
    Hello all. I have downloaded the LPC213x sample codes for Keil, at NXP website: www.standardics.nxp.com/.../ I have tryed to compile the GPIO example, and I am getting the following error message...
  • C51: Invalid int expression in pre-processor
    I have hit a wall. In the following fragment: int a; void main(void) { a = 1; #if ((defined(TEST_1) && (TEST_1 == 27)) || (defined(TEST_2) && (TEST_2 == 27)) ) a = 2; #endif } the conditional...