I was looking at instructions and their corresponding opcodes. Instructions such as "je" and "jz" have the same opcode:
je,jz - 0x74 (8 bit)
je,jz - 0x0f84 (16/32 bit).
Why do we have such redundant instructions?
Is it because it makes assembly coding easier? That is, it's easier to understand 'jump if equal' in some cases and 'jump on zero' in other cases. But we don't really code in assembly these days, so does it help?
While not the most widely used programming language today, it is still used. g++ can compile assembly code. If you know what you are doing then it gives you a definite speed advantage.
In regards to your question, Yes your are right. Depending upon the circumstances it helps to think one way or another that leads to different instructions having the same opcode.