Length of opcodes are variable. So, What is the mechanism computer uses to decide where the current opcode finishes exactly?
Asked
Active
Viewed 163 times
0
-
The *vast majority* of architectures do not use variable-length opcodes. In fact, the only one that I can think of which does is x86. – Cody Gray - on strike Jun 19 '19 at 06:23
-
1@CodyGray in fact most modern architectures have a variable-length instruction variant: MIPS, ARM, PowerPC, [ForwardCom](https://www.agner.org/optimize/blog/read.php?i=801), RISC-V, SuperH... – phuclv Jun 19 '19 at 08:36