SUB ESP,8
FLD [00F1CD80h]
FLD1
FADDP ST(1),ST(0)
FLD [00F1CD88h]
FADD [00F1CD90h]
SUB ESP,8
FSTP [ESP]
FSTP [ESP+8]
CALL 054008CCh
FLD [ESP]
FLD [00F1CD98h]
FSUB [ESP+0Ch]
FLD [00F1CD90h]
FMUL [00F1CD80h]
FADDP ST(1),ST(0)
FMULP ST(2),ST(0)
FADDP ST(1),ST(0)
FSTP [00F1CD80h]
ADD ESP,8
RET 8
Hello, I am trying to translate this assembler code for Intel 80386 to pascal. I am quite newbie with assembler.
Do you know some source, where are solved examples?
My question to this code:
How can I recognize parameters of procedure.
What exactly does St(1), ST(0) (I found, it will pop a stack ...)
First what I see that at the first line of the code that I have to subtract from ESP(Extended Stack Pointer). I guess some variable a value eight. Then I load from some Float number from absolute adress ...