Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Nios2-elf-gcc assembly code parser

Hey all...

I want to find out if somebody have done some work on parsing Nios II assembler files... These files can be created by the -S option of the nios2-elf-gcc executable.

Thank you for your time

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you can also use objdump utility to dissassemble existing elf file, like this:

    nios2-elf-objdump.exe -d some_file.elf

    it is usefull for manually filling the programming ROM that nios will read to execute your program or manually injecting SEU. however I don't see any other use in it.