Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win



Posted on 2000-02-18
Medium Priority
Last Modified: 2008-02-26
How to convert an asm source file to c ?
Question by:nosredna
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 86

Expert Comment

ID: 2536552
Well, it depends on what it does - but most C compilers offer 'inline assembly code', so

void MyFunc( void)
/* your assember code here */

should do it...
LVL 86

Expert Comment

ID: 2536553
Better: There is no general way to do this...

Author Comment

ID: 2536606
In truth i have an asm file which i need to know the source code in C, i. e. functions and parameters.
How to convert from asm to c language?

Author Comment

ID: 2536615
Adjusted points to 300
LVL 86

Accepted Solution

jkr earned 1200 total points
ID: 2536774
Ahh, you need a decompiler - check out


Quote from the page:

"Decompilation is a technique that allows you to recover lost source code. It is also needed in some cases for computer security, interoperability and error correction. dcc, and any decompiler in general, should not be used for "cracking" other programs, as programs are protected by copyright. Cracking of programs is not only illegal but it rides on other's creative effort. See the ethics of decompilation for more information. "

BTW: Though it's the best decompiler I've found on the web, the results will not be convenient to read, as there's no way to tell what the symbols (function's and variable's names) have been without having the debugging information...

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question