![]() | ![]() | ![]() |
| |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
![]() |
| | Tools |
| | #16 |
|
Basic code to ASM or De-ASM is integral to any compiler that understands it's own hardware architecture, things like Java based programming or higher end languages are exempt of course.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." Last edited by Sceadwian; 27th August 2008 at 05:08 AM. | |
| |
| | #17 | |
| Quote:
Disassemblers are a different topic and of course are required for use in interactive debuggers. They generally do not produce code in the original high-level language, though. Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | #18 | |
| Quote:
__________________ Pay it forward. | ||
| |
| | #19 |
|
I don't require anyone to defend my statement. There are decompilers around that is in evidence from other posters and Google and In some of the original C++ releases a decompiler came with it. I have no knowledge of more recent versions so cannot comment further. Larry
__________________ Confucius says: "One in three is a teacher." | |
| |
| | #20 |
| Next some wiseacre will inform us that those "C copilers" will actually copula.... ooops family values and such. I never saw a de-compiler. I never hope to see one, but, I can tell you anyhow, I'd rather see than be one! Ahhh..cha..cha..cha
__________________ We never have time to do it right; but we always have time to do it over. | |
| |
| | #21 |
|
There is a good article in "The Firmware Handbook" (Jack Gansel ed. Newnes 2004) called "Understanding Your C Compiler," written by Jakob Engblom (IAR compiler developer) which points out the steps a compiler takes to make a machine executable. If you read that, you will begin to understand why a 'decompiler' is not practical.
| |
| |
| | #22 | |
| Quote:
Not sure who you're talking to here, but decompilers are indeed practical and there are lots of them out there. Now, a decompiler which produces readable output and scales well--that's another question entirely. And a round-trip decompiler (where you actually get back the original source code) would be like unburning paper unless special provisions were made to support it in the original compiler.Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | #23 | |
| Quote:
![]() I remember trying out a 'decompiler,' some time back. I found it much easier to take the hex file, line by line, and disassemble it manually. | ||
| |
| | #24 | ||
| Quote:
![]() Quote:
Torben
__________________ Curiosity was framed. Ignorance killed the cat. | |||
| |
|
| Tags |
| assembly, language, programming |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| assembly and c language | baftab | Electronic Projects Design/Ideas/Reviews | 4 | 15th April 2006 02:03 AM |
| LCD programming and connection with assembly language | microzone | Micro Controllers | 5 | 10th February 2006 04:14 PM |
| assembly language | soohino | Micro Controllers | 3 | 31st December 2004 06:35 AM |
| Assembly Language??? | amady | Micro Controllers | 58 | 27th October 2004 10:27 AM |
| Learning Assembly Programming Language | Johnson777717 | Micro Controllers | 4 | 22nd March 2004 03:00 PM |