Conversion Assembly to High Level Languages

Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2008
Posts: 12
Reputation: noktasizvirgul is an unknown quantity at this point 
Solved Threads: 0
noktasizvirgul noktasizvirgul is offline Offline
Newbie Poster

Conversion Assembly to High Level Languages

 
0
  #1
Aug 12th, 2008
Hi All,
I need to convert a Assembly Code to high level languages such as C/C++, C#, .Net vs vs.

I found a website that converts it but with very very high price. I am looking for a simple program which tries to convert assembly to high level language. I say "tries" because it can have mistakes, I can correct them, but I need to get a idea or help.

Thanks anyway.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Conversion Assembly to High Level Languages

 
0
  #2
Aug 12th, 2008
Are you talking about actual assembler code, as written and commented by a human?
Which is what the tool you referenced would seem to need.

Or the disassembler output (devoid of comments) as output by say dumpbin ?
In which case, you're pretty much hosed.

Whilst decompilers exist, the result is not something you would want to maintain (or look at). Everything will be called var1, var2, var3 etc.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 12
Reputation: noktasizvirgul is an unknown quantity at this point 
Solved Threads: 0
noktasizvirgul noktasizvirgul is offline Offline
Newbie Poster

Re: Conversion Assembly to High Level Languages

 
0
  #3
Aug 12th, 2008
I am talking about actual assembler code, as written and commented by a human. And the conversation a big code is my job in the probation. Do not understand wrong, I do not try to use a dissambler output and stole someone's work.

I want a program because at first part they want me to convert a hex code to assembly, secondly they want me to find is there any way to reach to higher level code to assembly code. And my real objection in probation is protect a program ( in .exe position ) to steal source code. I want to learn how these converters work than I will try to find a solution to my problem.

If you are suspicious about my truth, you can explain me just how these converters work and how we can prevent our codes from these type of steals.

Thanks anyway.
I am waiting for your response.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 5
Reputation: Olof Forshell is an unknown quantity at this point 
Solved Threads: 0
Olof Forshell Olof Forshell is offline Offline
Newbie Poster

Re: Conversion Assembly to High Level Languages

 
0
  #4
Sep 9th, 2008
There are two reasons for writing in assembly (besides having fun!) and those are to take advantage of the speed possiblities and/or interface to something not otherwise easily interfaced to.

Hand-coded assembly ususally consists of a few instructions (<=25) so it's not all that difficult to grasp the logic.

It could be that the assembly code you have is the startup code for your program and then I recommend not touching it.

If the code does not interface anywhere and appears to be written solely for speed, it should be relatively easy to convert it by hand to C code.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC