trying to divide a float value that is in my FPU stack by a integer value that is stored in a register
this is the code i tried first
i'm positive that fstp is putting the value on the stack, because it's outputting it correctly
any ideas? or should i do this differently?
fstp qword [ebx] ;Copy contents of st0 to space currently on top of the system stack
fld qword [edi] ;move edi onto FPU
fdiv ; divide?
fstp qword [ebx] ;copy the result to print it out