When disassembling the .com
file for the Color Dream demoscene production with ndisasm
, I get the following output:
$ ndisasm color_dream.com | grep "fmul to" -B3 -A3 -m1
00000033 D9C1 fld st1
00000035 B00D mov al,0xd
00000037 D9C0 fld st0
00000039 DCC9 fmul to st1
0000003B D8CA fmul st2
0000003D D8C0 fadd st0
0000003F D802 fadd dword [bp+si]
DCC9
is disassembled to fmul to st1
which also corresponds with this list from the Salent disassembler.
All is well so far.
However, when assembling the fmul to st1
instruction with yasm
, I get:
error: unexpected `,' after instruction
Instead of the expected DCC9
machine code.
My question is:
How can I write fmul to st1
in a way that yasm
will understand?