Nios® V Embedded Processor Design Handbook

ID 726952
Date 7/08/2024
Public
Document Table of Contents

6.2.3.4.2. Correlating Trace Data to Software ELF

By examining the contents of the objdump file, you can compare the captured instruction trace to the software image executed by the Nios® V processor. The objdump file is a copy of the processor's .elf file in a human-readable format that contains C/C++ code fragments, symbolic function names, assembly instructions, and address locations. It is generated automatically after a successful software compilation.
Although the objdump file contains vast amounts of information decoded from the.elf, the Nios® V processor's instructions appear one per line in this file, in the following format:
<Address>: <Opcode> <Assembly Mnemonic>

For example, the instructions from Figure Analyzing results are:

314:  ff010113  addi  sp,sp,-16
318:  00112623  sw    ra,12(sp)
31c:  00812423  sw    s0,8(sp)
320:  01010413  addi  s0,sp,16