When you want to avoid dependencies (to optimize code speed, parallel processing) in usage of registers, to execute instructions in parallel (32 bits, integer arithmetic instructions) but for some reason you can't do it in some places: It would be a good idea to interleave in these places some nops intructions? If not (for some reason) what other instruction would be a good idea to place there? As an example:
mov eax,memlocation1
mov ebx,memlocation2
add eax,ebx
xor edx,edx
mul ebx
Can be written (to avoid register dependecies):
mov eax,memlocation1
mov ebx,memlocation2
xor edx,edx
add eax,ebx
mul ebx
But you can't avoid all the dependencies yet. Of course here you have to assume (for the purpose of the question) than there aren't other registers available or it could be difficult to keep trace of all them when pushing and popping them from the stack). So it would be a good idea to do somenthing like this (using nops)?:
mov eax,memlocation1
mov ebx,memlocation2
xor edx,edx
add eax,ebx
nop
mul ebx
:idea: