English
Source / code snippets

Assembler-Hex-Maschinenprog. in stat.Int-aray loading (for ältere XProfan-versions)

 

p.specht

Maschinenprogramme for älteres XProfan:
Assembler-Hex in statisches aray (declare A&[fixeZahl]) pack succeed only for small programs without large Sprungweiten, as long as these web page:  [...]  yet online is, and one itself there 32-bit-code Generate can! benefit: can almost any x86/x87/mmx/xmm/sse..-command! disadvantage: Compiliert becomes The usage another as the XProfan-X4-geprüften Inline-Asmcodes risky...
Cls
'prefix for each ASM-Program:
'55                      push   ebp
'89 e5                   mov    ebp,esp
'fountain for "Wirkteil": https://defuse.ca/online-x86-assembler.htm
'8b 45 08                mov    eax,DWORD PTR [ebp + $08]
'Abspann for each ASM-Program (your own Edit):
'89 ec                   mov    esp,ebp
'5d                      pop    ebp
'c2 04 00                ret    $04  '<<< ZU EDITIEREN!: 4 byte per 1 Parameter
Var P$="5589E5"+"8B4508"+"89EC5DC20400"' (prefix + Wirkteil + Abspann)
Var Pz&=(len(P$)-1)/8
Declare B&[Pz&],Z$' : print sizeof(B&[])-1 '= Check MaxIndex

WhileLoop 0,Pz&:Z$=left$(mid$(P$,8*&Loop+1,8)+"00000000",8)

    Z$=mid$(z$,7,2)+mid$(z$,5,2)+mid$(z$,3,2)+mid$(z$,1,2):B&[&Loop]=val("$"+Z$)

endwhile

Print CALL(addr(b&[0]),1234567890)
WaitInput
End
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/26/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.637 Views

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


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