In IDE: Window -> Preferences -> Nios II Tab -> turn on "Generate objdump file"
Then rebuild your project and look the .objdump file.
Regards
Luca
--- Quote Start ---
originally posted by sridhar.sr+feb 22 2006, 08:48 am--><div class='quotetop'>quote (sridhar.sr @ feb 22 2006, 08:48 am)</div>
--- quote start ---
thanks andrew.
any idea how i can view assembly code in ide?
a & b are 2-d arrays of unsigned int
unsigned int a[6][16];
regards,
sridhar.
<!--quotebegin-queisser@Feb 21 2006, 12:27 PM
i'd recommend looking at the resulting assembly code to figure out whether the compiler is doing a good job or not. from your code snippet it's hard to tell since we don't know what types 'a' and 'b' are and how far apart they are in memory.
you've probably already checkd but make sure optimizations are on (release configuration).
andrew
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12851)
--- quote end ---
--- Quote End ---
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12869)</div>
[/b]
--- Quote End ---