I have an assembly file where i am randomly inserting floating point instructions like
fmul st2, st0
fdiv st1, st0

at random places in the assembly program.

When compiling with TASM
tasm32 /z /m3 /ml

I get errors as : Undefined symbol st0,
Undefined symbol st2

Could anyone help me out here?

Have you tried?:

fmul	st(2), st(0)
	fdiv	st(1), st(0)

There are no such registers st0, st1, or st2....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.