Warning: MIPS32 Rev 2 instruction is not implemented. Instruction ignored

This topic contains 1 reply, has 2 voices, and was last updated by  Sean 2 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #49452


    Hello All,

    I am trying to generate assembly file for the AES encryption example.
    When I compile my c code through the mips compiler it generates an assembly file which when loaded in spim gives this error.
    The instruction at which this error points to is seb $3, $2.
    Is it that the mips compiler doesn’t take into account the seb instruction? I am assuming this from the warning message.

    What would be the work-around?

    TIA 🙂




    What arguments are you providing to GCC? By default mips-mti-elf-gcc will generate MIPS32R2 instructions.

    SEB (Sign-Extend Byte) instruction does not look like it is defined in the instruction spim is designed to work with (a much older MIPS instruction set).

    Have a look at the MIPS GCC options for targeting different architectures or use a more up-to-date simulator/emulator (i.e. QEMU) depending on what you are attempting to achieve.



Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.