Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
1.00/5 (6 votes)
See more:
how can i programming disembler programe? i want method and code?
I want programming this programe for University project I want this fast ?please
please i want code on c or c++ languagh.
Posted
Updated 25-Sep-12 6:41am
v4
Comments
Legor 25-Sep-12 9:07am    
It doesnt work this way. People here will not provide complete solutions for you. But they are willing to help with specific programming problems you may encounter while doing this yourself.
Stefan_Lang 25-Sep-12 9:45am    
I think you got your objective wrong. I see two ways to interpret your request:
1. Your project is this disassembler - in that case the whole point is that you write it. The purpose is that you learn programming. And it would be wrong for us to spoil that purpose by providing the code.
2. Your project requires a disassembler as a tool - in that case you need a working disassembler, but not the code.

Either way you don't need code from us.
mrsh66 25-Sep-12 10:05am    
thanks man but i need code Because I have no idea about this program codes so I'm in trouble so I hope you can help me in this trouble ???????help the Begginer ok please???
Stefan_Lang 25-Sep-12 10:57am    
If you're looking for code, I don't have it, and I'm not going to write it for you. Nor is anyone else on this site likely to do so.

The closest thing to actual code anyone might offer is a link to some other site on the web, found after googling with the right key words. But then you could do that yourself.

The help you are most likely to get on this site is answers, not code. If you want answers, you have to pose questions first. Start by looking at Solution 1. Can you work with those hints? Or is there something you don't understand?

Understand that no one can see into your head. We don't know what you consider a 'beginner', or what you are a beginner at. Knowledge is like a complex building: if the foundation is missing, you can only get so far before everything collapses. If you forgot some supportive pillars or walls when building up, we need to know where to find them so we can help you fill in the gaps. There is no point for us starting at the foundation all over again! Nobody has that kind of time.

Or in other words: think carefully about the problem and where your understanding starts to fail you. Then ask us about that specific topic that you're unsure of. Rinse and repeat.

1 solution

Coding a disassembler is not a very complex task (at least compared to developing a decompiler: in principle, a rough disassembler is just a table driver translator, converting numbers into mnemonic opcodes). However it depends on the target architecture (for instance with RISC CPUs your job would be simpler).
I you can, I suggest you to choose a simple target CPU (or MCU) provided with tools allowing you to compare your results with the 'state of art' ones (e.g. PIC16 microcontroller).
 
Share this answer
 
Comments
pasztorpisti 25-Sep-12 9:44am    
+5, agree, and google can help a lot when searching for sources of various assemblers/disassemblers.
CPallini 25-Sep-12 14:49pm    
Thank you.
Malli_S 25-Sep-12 9:55am    
my +5 :)
CPallini 25-Sep-12 14:50pm    
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900