Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Debugger and disassembly.

Altera_Forum
Honored Contributor II
1,149 Views

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&#39;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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
255 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
254 Views

Thank you

0 Kudos
Reply