GetCurrentEIP()

Syntax

Ergebnis = GetCurrentEIP(Befehlsanzahl)
Beschreibung
Ermittelt den Zeiger (Pointer) der aktuellen Anweisung im Speicher (oder mit Offset von Anweisungen).

Beispiel:
  LoopCnt=0

  ;Where are we ?       ; get current address in memory
  EIP=GetCurrentEIP(1)  ;
  ;X - EIP points to this line

  ;a simple DebugMessage
  Debug "Loop "+Str(LoopCnt)

  If LoopCnt<10  ;we have less than 10 loop counts, so
    LoopCnt+1    ;...add one
    GoToEIP(EIP) ;...and goto last address
  EndIf
  Debug "Ready!"

Unterstützte OS

Windows

<- DisASMCommand() - OnError Inhaltsverzeichnis - GetDisASMString() ->