Fmul to st1 gives "unexpected", "after the instruction"

When disassembling a file .comfor 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]

DCC9parsed on fmul to st1, which also matches this list from the Salent disassembler.

So far so good.

However, when building the command fmul to st1with yasmI get:

error: unexpected `,' after instruction

Instead of the expected machine code DCC9.

My question is:

How to write fmul to st1in such a way that I yasmunderstand?

+4
source share

Source: https://habr.com/ru/post/1678783/


All Articles