IAR Technical Notes. About IAR Systems Group. Technology for today and for the future. Jul 03, 2002 OK, I've to use IAR and want to implement some Assembler code around my C source. Exactly it's just a funtion for doing a loop of 1usec/1msec. But how can I put this code into IAR Workbench (without beeing optimized 'away')? Below is my code, which produces a lot of errors (like: ErrorOg005: Unknown symbol in inline assembly: 'loop'.
Joined: Fri. Jul 2, 2004
Posted by Hans Meier: Mon. Jul 5, 2004 - 02:51 PM
Total votes: 0
Hello board,
![Cannot Cannot](/uploads/1/2/5/3/125308733/312560499.png)
![Iar error code expression cannot be forwarded Iar error code expression cannot be forwarded](/uploads/1/2/5/3/125308733/832736126.jpg)
I'm totol new to AVR and IAR (but have to take it in school) and need some help from you ;=)
OK, I've to use IAR and want to implement some Assembler code around my C source. Exactly it's just a funtion for doing a loop of 1usec/1msec. But how can I put this code into IAR Workbench (without beeing optimized 'away')? Below is my code, which produces a lot of errors (like: Error[Og005]: Unknown symbol in inline assembly: 'loop'
Error[Og006]: Syntax error in inline assembly: 'Error[54]: Expression can not be forward')
What is going wrong? How is the right syntax?
OK, I've to use IAR and want to implement some Assembler code around my C source. Exactly it's just a funtion for doing a loop of 1usec/1msec. But how can I put this code into IAR Workbench (without beeing optimized 'away')? Below is my code, which produces a lot of errors (like: Error[Og005]: Unknown symbol in inline assembly: 'loop'
Error[Og006]: Syntax error in inline assembly: 'Error[54]: Expression can not be forward')
What is going wrong? How is the right syntax?
Regards and thanks in advance,
Hans