AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

what's incorrect here

Ein Thema von sdean · begonnen am 9. Jan 2010 · letzter Beitrag vom 9. Jan 2010
 
sdean

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

what's incorrect here

  Alt 9. Jan 2010, 20: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
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:53 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz