Assembly langauge code or C code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Assembly langauge code or C code

8,565件の閲覧回数
venki
Contributor I
Hi,
I have source code read  from MC08GP32. can we convert these codes in assembly Langauge or C Language.
 
Venki
 
Message Edited by t.dowe on 2009-09-04 02:14 PM
ラベル(1)
0 件の賞賛
返信
25 返答(返信)

715件の閲覧回数
venki
Contributor I
Dear Peg,
Thanks for your valueble effort in confirming aboat the code.You have not mentioned anything aboat Code above assembly code.
 
Regards
venki
0 件の賞賛
返信

715件の閲覧回数
bigmac
Specialist III
Hello Venki,
 
Within the listing file, the first half of the file contains a "memory dump" of each line of the .S19 file, one line at a time.  It can be ignored, since your interest is with the disassembled code.
 
I am curious as to what you hope to achieve with the disassembly.
 
Once you have separated the code into the various sub-routines, identify those "low level" routines that do not call any other sub-routines.  Then attempt to identify what each of these does.  The routines that read or write peripheral registers may be easier to decode.  I suggest you add copious comments as you work through the code.
 
I also don't envy your task of making sense of about 27K of code - I have previously reverse engineered projects with about 1K to 2K of code that was originally written in assembler (and not compiled from C), and this was tedious and time consuming enough.
 
Regards,
Mac
 
0 件の賞賛
返信

715件の閲覧回数
Curt
Contributor IV
One thing for sure though Venki:  if you actually manage to dis-compile a 27K program you will be a bonafide expert in several areas (assembly language the least of them).
 
It will be a bit like trying to reconstruct your program from a listing that's been through the shredder twice -- or rewriting Kafka's  _The Trial_ given a box of the letters contained in the original book:smileyhappy:
0 件の賞賛
返信

715件の閲覧回数
Alban
Senior Contributor II
lst files are now allowed.
0 件の賞賛
返信

715件の閲覧回数
Curt
Contributor IV
Hi venki.
If you follow Peg's advice and can download a free "special edition" of CodeWarrior from the Freescale web site, you will not only get an assembler manual and tools -- but also a simulator that will let you practice writing, assembling and executing programs in assembly language.  
 
This is one of those "bargains" that will make you say -- "Wow!"
 
Regards,
Curt
0 件の賞賛
返信