943,708 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 4318
  • Assembly RSS
Nov 12th, 2006
0

Compiling Source Code?

Expand Post »
I know absoulutely nothing about compiling source code other than you need MS Visual Studio to compile it. I have the express (free) version of it, can you compile in this version?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
bnrup is offline Offline
26 posts
since Oct 2006
Nov 12th, 2006
0

Re: Compiling Source Code?

If you are talking about assembly code -- yes but it must be in-line assembly code. Here is an example C function with inline assembly.

Assembly Syntax (Toggle Plain Text)
  1. int foo()
  2. {
  3. _asm
  4. {
  5. // put your assembly code here
  6. }
  7. }

>>you need MS Visual Studio to compile it
no you do not need Visual Studio. There are lots of free assemblers.
Last edited by Ancient Dragon; Nov 12th, 2006 at 10:24 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,950 posts
since Aug 2005
Nov 12th, 2006
0

Re: Compiling Source Code?

if its c++ code use something like bloodhsed dev c++
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Nov 12th, 2006
0

Re: Compiling Source Code?

If you are talking about assembly code -- yes but it must be in-line assembly code. Here is an example C function with inline assembly.

Assembly Syntax (Toggle Plain Text)
  1. int foo()
  2. {
  3. _asm
  4. {
  5. // put your assembly code here
  6. }
  7. }
>>you need MS Visual Studio to compile it
no you do not need Visual Studio. There are lots of free assemblers.
So what file do I need to open within the source code? How do I save the compiled version?
Reputation Points: 10
Solved Threads: 0
Light Poster
bnrup is offline Offline
26 posts
since Oct 2006
Nov 13th, 2006
0

Re: Compiling Source Code?

First, this is not the right board to be discussing C and C++ topics. There are several tutorials, the topic is just too complicated to explain fully here.

You might be better off getting free masm assembler and use Notepad to write your programs. I hope you are studying an Intrudoction to Assembly book because you will definitely need it.
Last edited by Ancient Dragon; Nov 13th, 2006 at 7:45 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,950 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: Cmp??
Next Thread in Assembly Forum Timeline: help nedden in MIPS Assembly





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC