cancel
Showing results for 
Search instead for 
Did you mean: 

IAR about question

gdiez
Associate II
Posted on January 10, 2011 at 18:07

IAR about question

5 REPLIES 5
hooman14
Associate II
Posted on May 17, 2011 at 14:21

As far as IAR goes,

I have used it for AVR and this is how i saw the assembly file:

DEBUG or SIMULATE under PORJECT->OPTION->DEBUGGER  under SETUP tab, Select Driver to be SIMULATOR or your debugging tools.

Once simulation is in process, go VIEW-> DISASSEMBLY

Hope this helps.

Posted on May 17, 2011 at 14:21

It isn´t right and i want to see the ASM code. How can i see that on IAR

Wouldn't going to Project -> Options, and selecting ''C/C++ Compiler'' and the ''List'' tab, and then checking the ''Output list file'' or ''Output assembler file'' options and sub options, do the job?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
hooman14
Associate II
Posted on May 17, 2011 at 14:21

yes it does :).

I just do it the other way because it becomes

easier for me

to know exactly what line of code equates to the assembly when I right click on the C code -> Set Next Statement. Both works .

gdiez
Associate II
Posted on May 17, 2011 at 14:21

I do like you said me but that is the only i can see. I dont want this. I want code like:

MOV AL, 061h    and I only see the following.  0690X00000602iYQAQ.jpg 

What am I doing wrong?? I´ve checked Project/options/C-C++Compiler/List:

Output list file and Output Assembler file. One of each and both of them ways.

gdiez
Associate II
Posted on May 17, 2011 at 14:21

I know the reason. I was programming with STlink JTAG debugger and it must be done with SIMULATOR or altmost it works only in that way for me.

0690X00000602iZQAQ.jpg