Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDebugger and disassembly.
Hello.
How to make steps and set breakpoints in disassembly? for example i have following code. g_unOnchipRamBase = ONCHIP_RAM_BASE;
0x0100046c <InitIHEX+12>: movhi r2,528
0x01000470 <InitIHEX+16>: addi r2,r2,0
0x01000474 <InitIHEX+20>: stw r2,-32660(gp) if i'll press F5 i will go through these all asm lines. but, for example, i want to set breakpoint on line "addi r2,r2,0" or more important, i want execute code by single instruction in disassembly. how?2 Replies
- Altera_Forum
Honored Contributor
Hi,
1. You can set a breakpoing but double click the left edge of the line. 2. <div class='quotetop'>QUOTE </div> --- Quote Start --- How to execute code by single instruction in disassembly.[/b] --- Quote End --- In Debug Perspective, there is a tool in tool bar, named Use Step Filter/Step Debug, enable it then you can step in disassemble code. David - Altera_Forum
Honored Contributor
Thank you