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 


C++ and ASM

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

Joined: 26 Feb 2007
Posts: 27

PostPosted: Mon Jul 02, 2007 11:45 am    Post subject: C++ and ASM Reply with quote

Does anyone know of a website that compares ASM code side by side to C++. I am interested in figuring out which ASM codes and lines of code correspond to different code in c++. So if anyone knows of a website or place i can go to see this side by side comparison that would be great!


Also if anyone knows and links for reverse engineering tutorials or information that would be great!

_________________
-amen
Back to top
View user's profile Send private message AIM Address MSN Messenger
BRONiUS
Expert Cheater
Reputation: 0

Joined: 26 Jun 2006
Posts: 154
Location: Vilnius, Lithuania

PostPosted: Mon Jul 02, 2007 12:42 pm    Post subject: Reply with quote

www.tuts4you.com Search for lena's151 tutorials.
'

_________________


Rhapsody in Blue is Epic.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Jul 02, 2007 12:43 pm    Post subject: Reply with quote

Get a disassembler
Back to top
View user's profile Send private message
sumone4life
Cheater
Reputation: 0

Joined: 26 Feb 2007
Posts: 27

PostPosted: Mon Jul 02, 2007 1:23 pm    Post subject: Reply with quote

I have a dissasembler it just seems that for a simple program like "Hello World" in c++ looks very drawn out and theres alot of extra stuff in the asm. Probably because of the includes and various things it needs to do but i just really want to see what say:

cout << "Hello World";

looks like in asm or somthing along those lines

_________________
-amen
Back to top
View user's profile Send private message AIM Address MSN Messenger
BRONiUS
Expert Cheater
Reputation: 0

Joined: 26 Jun 2006
Posts: 154
Location: Vilnius, Lithuania

PostPosted: Mon Jul 02, 2007 2:05 pm    Post subject: Reply with quote

Code:
.386
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\user32.lib

.data
msgboxcaption  db "ITZ LIEK HALLO WRLD!!11",0
msgboxtext db "HAI BLAWB!",0

.code
start:
invoke MessageBox, NULL, addr msgboxtext, addr msgboxcaption, MB_OK
invoke ExitProcess, NULL
end start

_________________


Rhapsody in Blue is Epic.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Jul 02, 2007 2:17 pm    Post subject: Reply with quote

sumone4life wrote:
I have a dissasembler it just seems that for a simple program like "Hello World" in c++ looks very drawn out and theres alot of extra stuff in the asm.


It's called "bloat" and it's why you shouldn't use C++.
Back to top
View user's profile Send private message
sumone4life
Cheater
Reputation: 0

Joined: 26 Feb 2007
Posts: 27

PostPosted: Mon Jul 02, 2007 3:56 pm    Post subject: Reply with quote

haha well, id rather program in c++ when its more efficient than asm which i dont know much of anyway Smile
_________________
-amen
Back to top
View user's profile Send private message AIM Address 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