Thema: Delphi what's incorrect here

Einzelnen Beitrag anzeigen

sdean

Registriert seit: 5. Dez 2009
64 Beiträge
 
#1

what's incorrect here

  Alt 9. Jan 2010, 21:39
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
Angehängte Dateien
Dateityp: zip dissasemble_214.zip (46,1 KB, 3x aufgerufen)
  Mit Zitat antworten Zitat