Register for your free account! | Forgot your password?

You last visited: Today at 15:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Inline ASM

Discussion on Inline ASM within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830
Inline ASM

Huhu was mich schon länger beschäftigt ist die Frage wieso inline assembler unbedingt vermieden werden sollte.

Es geht mir vorallem um windows tools/game hacks.

Wäre nett wenn mich jemand mit ein paar schönen begründungen erleuchten könnte.
Medix is offline  
Old 06/06/2010, 23:02   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 793
Received Thanks: 268
also ich menutz gelegentlich _asm{....}
in c++, weils einfach manchmal nicht anders geht, grade bei solchen hacks, code injection oder ähnliches,
wenn mans allerdings nicht unbedingt braucht, würd ichs auch vermeiden weil assembler code einach etwas unübersichtlich ist.
nkkk is offline  
Old 06/06/2010, 23:17   #3

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
Quote:
Originally Posted by Medix View Post
Huhu was mich schon länger beschäftigt ist die Frage wieso inline assembler unbedingt vermieden werden sollte.

Es geht mir vorallem um windows tools/game hacks.

Wäre nett wenn mich jemand mit ein paar schönen begründungen erleuchten könnte.
Wer sagt das?

Klar kann man function pointer benutzten, ist halt übersichtlicher.
Aber ich persönlich neige, wenn es geht auch zu inline asm.
Schnell, und um 1337 stufen cooler!
Adroxxx is offline  
Thanks
1 User
Old 06/06/2010, 23:25   #4
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830
Quote:
Wer sagt das?
hm hab ich jetzt beim lesen bezüglich inline asm schon wirklich öfters gelesen darum hak ich hier nach :>.
Medix is offline  
Old 06/06/2010, 23:35   #5

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
Geh nach game deception
Da wurde auch gefragt wieso einer inline asm benutzt anstatt function pointer für irgendwas.
Die antwort war:

'bro, you use asm if you balling large'

Man kommt an vielen Stellen nicht drum rum. Von der Geschwindigkeit natürlich schneller und wenn man ASM kann, ist es oftmals auch einfach schnell da bissl inline asm reinzuklatschen.
Adroxxx is offline  
Old 06/07/2010, 16:31   #6


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
Ach, die Stelle hab ich auch gelesen

Naja, man sollte eben den x64 support bei inline Asm nicht vergessen
MrSm!th is offline  
Reply


Similar Threads Similar Threads
[Request] Some help with Inline asm in C++
09/08/2008 - CO2 Programming - 3 Replies
I'm trying to read a "string" (not necessarily human readable characters) that may also contain 0x00's using an injected dll. Is there a way to (efficiently) copy a string of a length that can be up to 400 bytes or so into a c++ variable? I have a pointer to the memory location inside EDI.
Inline ASM Question [C++]
02/05/2008 - Conquer Online 2 - 0 Replies
Hi all, I've been trying but can't seem to work this out, basically I want the following DWORD to be put into an unsigned long in C++. dword ptr ss: into this variable unsigned long itemx; __asm mov itemx, dword ptr ss: Doesn't work and neither do all the other things I tried so I could really use some help.



All times are GMT +2. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.