Hi all I have just started to use uVision3 to simulate LPC2368 using RTX kernel. I followed description on uVision3 Help (Create New RTX Application).
When I write a simple prog. I get this Error at compilation: LPC2300.s(623): error: A1163E: Unknown opcode SWI_Handler , expecting opcode or Macro.
I checked the upstarts code “LPC2300.s†And its ok. Please help me to solve this problem.
Sima
Sima, would you please elaborate on what a "simple program" is? It sounds like a startup file issue, though.
LPC2300.s(623): error: A1163E: Unknown opcode SWI_Handler , expecting opcode or Macro.
I checked the upstarts code LPC2300.s And its ok.
You checked it, finding it OK. The Assembler also checked it, and found it not OK. Obviously one of you is wrong, and, with all due respect, odds are that's you.
Are you really, absolutely sure you know better than the assembler? Have you looked very thoroughly at line 623 of LPC2300.s, to convince yourself that there is absolutely nothing wrong with it?
http://www.keil.com/forum/docs/thread10294.asp
I can’t find where it states it but for the RealView ARM Assembler, labels need to start in the first column (in my experience) otherwise it thinks that the label is an opcode.
Thank you Patrick I followed your link and that what it was wrong a space at the start of the line.