So I'm doing some very sophisticated code in assembler on my fav little processor. I recently discovered that most processors have special prefix codes so they can carry out wider operations. like the 8086 had prefix codes that allow 32 bit operations even though the CPU was in 16 bit mode.
Does anybody know where the details for these prefix codes are and documentation on how to use them.
The Z80 also used prefix codes, to extend the instruction set relative in relation to the 8080.
And the 8086 have prefixes to switch segment registers etc.
Lots of processors has them.
And they are obviously documented with the documentation of opcodes/assembler.
Some 8051 chips also have prefix codes but it isn't common. And it obviously is required to read the documentation for these specific 8051 chips to find out what the extra opcode sequences are.
No 8051, to my knowledge, have anything as fancy as the prefix functionality available in the x86 line of processors. But they might have some extras to allow use of some simple DSP mul-add or similar, complementing the normal instruction set.