0 Members and 1 Guest are viewing this topic.
Can someone make an Axe dissasembler (dissasembles Asm programs and gives source code) on calculator? That would be nice
It would be possible, but I'm sure you would have a ton of errors in translation along the way.
It would be quite difficult. Most Axe programs include the source anyway though don't they?
Quote from: Ashbad on July 06, 2011, 02:06:01 pmIt would be possible, but I'm sure you would have a ton of errors in translation along the way.Ashbad, that looks like it would get a few things right, but all it could properly do is Bcalls.
Fortunately, Axe DOES do better with data handling in fact, it reserves a .data section where all data is stored soon after the last Return. Everything in the .data section would then be easily distinguishable -- though only as raw data and not in forms of strings, etc. Unless you go through the program and literally see how the program handles all of the data byte by byte, and that wouldn't be near perfect still. If someone does try to attempt one (maybe I will after the contest...) I think it should decompile to multiple programs, one for each .section.
Perhaps he wants to get whatever the Axe source would be for a program that was written in ASM, not necessarily one that was written in Axe. Of course, that's even more impossible than trying to disassemble a program written in Axe back to its source.