English
Assembler Forum

Profanbefehle in a ASM-Loop use

 
i want a ASM-Loop using and therein The original Profanbefehle reinsetzen.
How are such a thing?

mfg
peter
 
08/28/08  
 




Frank
Abbing
Hm? Profan-command in the Assemblerteil? the goes naturally not.
 
08/28/08  
 




Sebastian
Sprenger
Well, You could Perhaps The XProfan-Commands in a procedure pack, its address over The function ProcAddr  detect, on The Assemberroutine transfer and there over the Opcode call  Call - but wieso ought to The Loop self in Assembler exist and the Schleifenkörper in XProfan?
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
08/28/08  
 



Why functions because The command Windows with the Vorbefehl "Invoke"?

mfg
peter
 
08/29/08  
 



can you time a small demonstration of your suggestion with Procaddr produce.

Thank you.

mfg
peter
 
08/29/08  
 




Frank
Abbing
from the method rate I urgently ex, You attempt into deadend To flüchten. momentarily is ProcAddr To uncertain and can To schlimmen Fehlern lead, self under XProfan 11. straight, if You Profanfunktionen of Assembler from started want.

"Invoke" is a Call to a Dll-function or to a Speicherbereich. there XProfan not nativ operates, can you accordingly too no native routine Call. ProcAddr attempts the remedy To do, fail but in designed situations.
 
08/29/08  
 



Frank Abbing
from the method rate I urgently ex, You attempt into deadend To flüchten. momentarily is ProcAddr To uncertain and can To schlimmen Fehlern lead, self under XProfan 11. straight, if You Profanfunktionen of Assembler from started want.


Hmpf, the trouble becomes simply not understood - this is not "unsicher". ProcAddr must only then not uses go if ausserhalb the actual Ablaufthreads one Call discontinued would. writes one however a ASM-function which a with Procaddr bezogene function aufruft and the eigentliche term the XProfanprogrammes because of the Inline-ASM-Aufrufes anyhow geblockt is, then is the even a good Possibility which I likewise often use - and the functions too very very reliably.

One Profanbefehl in a ASM Loop is means as long as no trouble, as ASM-Loop in same Thread happens and/or not z.B. over Timer injeziert becomes.
 
08/29/08  
 




Frank
Abbing
Peter, should means unvorhergesehene items with the process your Program occur, contact you Please directly on whom good, middle-aged iF. i'm something like of out from the thing...
 
08/29/08  
 



One Call on a with ProcAddr-bezogene XProfanfunktion must only happen if the XProfan strain "steht" - is really integrally simply.

One Call out a Inlineasm-function, The grade worn out becomes, is means unproblematisch. These Inlineasm-function must only not another Thread worn out go there ensured go must, that the XProfanprogramm too really strain "steht". therefore is too one Call by SetTimer-Api not To benefit, but Roland becomes sure too the still hinbekommen.

in the reference on Assembler is Frank but deutlicher contact persons I (in the comparison To it) herewith plenty plenty less program, but this Special trouble is Yes no ASM-trouble.
 
08/29/08  
 




Sebastian
Sprenger
Peter Bierbach
can you time a small demonstration of your suggestion with Procaddr produce.

CompileMarkSeparation
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
08/29/08  
 



and a Returnwert lying imho too (Correctly) in the eax-tab.
 
08/29/08  
 



Jup, thanks.

skin tidy there and is integrally fix .

Thank you.

mfg
peter
 
08/29/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

15.093 Views

Untitledvor 0 min.
funkheld12/11/22
p.specht06/04/21
N.Art11/18/20
iF09/24/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie