Newbie question

G

Glen Richards

Is there a program that will take my asm code and convet it to c or c++ or
somthing that i can convert to c?
 
R

Rolf Magnus

Glen said:
Is there a program that will take my asm code and convet it to c or
c++ or somthing that i can convert to c?

The typical answer to that is "I'll give you one if you show me a way to
turn that hamburger back into a cow".
 
O

osmium

Rolf said:
The typical answer to that is "I'll give you one if you show me a way to
turn that hamburger back into a cow".

Note that he said "asm code", although it seems more likely he actually
meant machine code.
 
K

Kevin Goodsell

osmium said:
Rolf Magnus writes:




Note that he said "asm code", although it seems more likely he actually
meant machine code.

Also, the way he phrased it doesn't necessarily imply that he wants the
*original* source code. Tools that translate a program to high-level
code exist, but the result is hardly useful I would guess. It would be
very difficult to make sense of it, but you might be able to recompile
it. I have doubts about how well this would work, particularly if you
want to compile for a different platform. And why else would you want to
recompile if not for a different platform?

-Kevin
 
G

Glen Richards

The reason im lookin for this is for the game Magic the gathering from
microprose. As microprose is no longer and i have no way of getting the
source code from them im looking to i guess recreate the source so that the
people in our forum so we can add cards to the game that are in the game but
locked and to add new expansions in the game. So if anybody wants to help or
would like to help out i can upload them the game or i can send it to them
the game through the mail. either way if there are helpers we can make this
game great again
 
T

Thomas Matthews

Rolf said:
Glen Richards wrote:




The typical answer to that is "I'll give you one if you show me a way to
turn that hamburger back into a cow".

Actually, the typical answer only applies to creating a user's
source code from an executable form.

However, what most people forget is that the ASM code _can_ be
converted into a C or C++ source code. It will not have the
exact descriptive form that a human writen source would have.
For example, the function names may be "function_0026". It
may not be easily readable, but the source code can be
created from the ASM or executable code.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 
G

Glen Richards

tom how can i do that then? do u know how?
Thomas Matthews said:
Actually, the typical answer only applies to creating a user's
source code from an executable form.

However, what most people forget is that the ASM code _can_ be
converted into a C or C++ source code. It will not have the
exact descriptive form that a human writen source would have.
For example, the function names may be "function_0026". It
may not be easily readable, but the source code can be
created from the ASM or executable code.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,886
Members
47,419
Latest member
ArturoBres

Latest Threads

Top