Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ASM in C++

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Death4ngel
Grandmaster Cheater Supreme
Reputation: 0

Joined: 23 Sep 2006
Posts: 1226
Location: Singapore

PostPosted: Tue Mar 20, 2007 9:49 am    Post subject: ASM in C++ Reply with quote

When should i use the _asm() {} in C++ coding?

Can asm totally replace the cin cout? So what are the main purposes of using ASM codes in C++?

_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Mar 20, 2007 9:54 am    Post subject: Reply with quote

because sometimes asm can do things that C++ can't
_________________
Back to top
View user's profile Send private message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Tue Mar 20, 2007 10:31 am    Post subject: Reply with quote

i use asm in c++ when i need to do something like that (even if i think there's something for doing that)

DWORD someaddress = 0x12345678, High, Low;
__asm
{
push eax
mov eax,someaddress
mov High, ah
mov Low, al
pop eax
}

_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Mar 20, 2007 10:47 am    Post subject: Reply with quote

The only problem, is that my VC6 has a tendancy to crash when I highlight an _asm block Crying or Very sad
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites