Hi Dave,
the MUL instruction is a bit finicky
MUL reg32 seems to be prefered over MUL [Val32],
Right.
even if you have to load it
Hmm. By how much? Guess it's processor specific.
Oh well. Put it on the ToDo list...
but, it is nice if the instruction just before MUL is not related to EAX, EDX, or the multiplicand
and it is nice if the instruction that follows MUL is not related EAX or EDX
well - none of those guidelines can really be followed with MWC - lol
Except loading registers? But MWC is 64-bit, sort of, as
one needs to save both EAX and EDX contents. Whereas
the others need to save 32-bit EAX.
Cheers,
Steve N.