main proc
finit
.while ang < 91
invoke func, ang
fstp res
print real8$(ang), 13, 10
print real8$(res), 13, 10
fld ang
fld1
fadd
fstp ang
.endw
ret
main endp
What's wrong with this piece of MASM code?
I get an error on .endw
. I have ran some tests to ensure myself of that. Assembler tells me invalid instruction operands
.
Thank you for your time!