mov eax,5
for: ;(future tag for loop)
call Putere
movsd xmm2,xmm1
div xmm2,eax
movsd xmm0,xmm2
xmm1 correctly calculates a variable x raised to the power of eax. eax will be the index for a loop and I need to divide xmm2 by eax at every step until 0. Is there any way to do this without having to change all my registers into float registers? (I am also using ebx inside the function Putere as a loop index)
fidivinstruction to divideST(0)by a 16bit or 32bit integer. But (afaik) there is no instruction to divide axmmregister (directly) by an integer.CVTSI2SD