GIDForums  

Go Back   GIDForums > Computer Programming Forums > Assembly Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Dec-2007, 16:21
inevitable inevitable is offline
Junior Member
 
Join Date: Nov 2007
Posts: 53
inevitable is on a distinguished road

How to view assembly code for c++ program


Hi,

I want to see the assembly code for a simple hello world program written and compiled from vc++ editor.

Any help would be of great help for me.
  #2  
Old 12-Dec-2007, 00:57
inevitable inevitable is offline
Junior Member
 
Join Date: Nov 2007
Posts: 53
inevitable is on a distinguished road

Re: How to view assembly code for c++ program


I saw the assembly code, But I want to know in which file the data is stored and I want to modify that file...

can anyone help me...
  #3  
Old 12-Dec-2007, 05:26
baccardi baccardi is offline
Junior Member
 
Join Date: Mar 2006
Posts: 44
baccardi is on a distinguished road

Re: How to view assembly code for c++ program


try using Olly debugger, find what windows function reads from file, then break all calls to that function and run the program with Olly, when you'll find which function is that you've been searching for start studying assembly code from that point, the file name should be stored somewhere
  #4  
Old 17-Dec-2007, 17:46
whitepenguin whitepenguin is offline
New Member
 
Join Date: Dec 2007
Posts: 9
whitepenguin is on a distinguished road

Re: How to view assembly code for c++ program


You can only add assembly Code in to VC++ Editor by
void main()
{
..............
...................
__asm{
//Your assembly Code is put here
}
..........................
}
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poker program code problem ineedcodinghelp CPP / C++ Forum 9 11-Jan-2007 21:09
Try to post the code of this program plzzz..Calculator is hard to solve!!! albert_123 C Programming Language 3 21-Sep-2006 02:41
Can you help me solving this program!plzz post the code of this program plzz.. albert_123 C Programming Language 2 12-Sep-2006 06:47
Type casts ? kai85 CPP / C++ Forum 12 23-Jun-2005 12:04
Writing code for a program in C sure C Programming Language 1 09-Jun-2005 00:24

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:13.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.