Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,383 Programmers. There are 1,390 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

How to generate assembly code?

 
Reply to this topicStart new topic

How to generate assembly code?

cygnusX
post 31 Mar, 2008 - 10:04 AM
Post #1


D.I.C Head

**
Joined: 19 May, 2007
Posts: 101



Maybe my question is strange but...how to generate assembly code?I do not mean with assembler software.I want to generate it without using such software.How this kind of software generates assembly code?I didn't find any information about this topic on the Internet.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Tom9729
post 31 Mar, 2008 - 10:38 AM
Post #2


D.I.C Addict

Group Icon
Joined: 30 Dec, 2007
Posts: 575

You write it. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

baavgai
post 31 Mar, 2008 - 11:48 AM
Post #3


Dreaming Coder

Group Icon
Joined: 16 Oct, 2007
Posts: 1,078

Are you trying to write assembler and look at an assembler representation of some functional binary? If the answer is the latter, the magic word you're looking for is disassembler. Assembly, in it's most basic form, is just machine code with pretty names. However, any code spit out via reverse engineering the final product tends to look like crap; you have been warned.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

NickDMax
post 5 Apr, 2008 - 12:35 PM
Post #4


2B||!2B

Group Icon
Joined: 18 Feb, 2007
Posts: 2,024

Many compilers (most C/C++ compilers) have an option to generate the assembly listing for their generated object files. There are also a few languages/compilers which only compile to assembly (I actually have not seen one of these in a while but I am sure they are still around).

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 03:51AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month