Why does the compiler give different pseudo instructions to the nop instruction in MIPS?

-1

The MIPS equivalent code generated by my GCC compiler gives many different pseudo-instructions for the instruction with hex-code 0x00000000:

nop, nop ra, 28(sp), and nopiu gp, gp, 30836.

Why are they all different? Isn't the instruction 0x00000000 is simply just nop, as in no operation to execute?

assembly
mips
disassembly
nop
asked on Stack Overflow May 11, 2021 by marshblocker • edited May 11, 2021 by Peter Cordes

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0