Going through the tutorial, my code:
AREA MyFirstExample, Code, ReadOnly ENTRY MOV r0,#4 MOV r1,#5 ADD r2,r0,r1 S B S END
When I build I get the following error:
MyFirstExample.s(6): error: A1163E: Unknown opcode S , expecting opcode or Macro ".\Objects\MyFirstExample.axf" - 1 Error(s), 0 Warning(s).
There is a space in front of the S. I need help resolving this error.
S B S
That's not a valid opcode. And you've probably not defined a macro of that name.
Comment the line out (by putting a ; before the S B S and try again
View all questions in Keil forum