Hi , why the compiler gives this Error :
Inline assembler syntax error
Delphi-Quellcode:
var
dw : DWORD;
begin
case Opcode
of
od_cb :
begin
Do_od_ib();
{Get the jump value}
dw := m_pInstruc^.Data.btVal;
{An unsigned-byte value was returned but a signed-32bit int is
needed, so convert}
asm
mov eax,dw
// <-------------Inline assembler syntax error
cbw
{convert the byte to a word}
cwde
{convert the word to a dword}
mov dw, eax
end;
end;
thank you