Hi I'm using the Keil uVision compiler for ARM assembly. I'm just starting out learning this and I have the following code in my program.
AREA PROGRAM, CODE, READONLY
EXPORT SYSTEMINIT
EXPORT __MAIN
SYSTEMINIT
__MAIN
MOV R1, #0X25
MOV R2, #0X23
END
When I build the target it says
test.s(1): error: A1163E: Unknown opcode PROGRAM, , expecting opcode or Macro
I'm not sure why that is. The code above s the code I was given to run as a sample to make sure its working. Shouldn't I be able to put anything in for AREA? Any help is appreciated.