Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi what's incorrect here (https://www.delphipraxis.net/145867-whats-incorrect-here.html)

sdean 9. Jan 2010 20:39


what's incorrect here
 
Liste der Anhänge anzeigen (Anzahl: 1)
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

Teekeks 9. Jan 2010 21:03

Re: what's incorrect here
 
I dont know exacly, maybe the [edit] missed blank after the [/edit] comma?

SirThornberry 9. Jan 2010 22:03

Re: what's incorrect here
 
Könntest du dem Beitrage bitte einen aussagekräftigen Titel geben der dein Problem wenigstens ansatzweise beschreibt? Danke :)

Please choose a significant title which describes your problem. Thanks :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:16 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz