Asembler generation

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

Asembler generation

3,097件の閲覧回数
patti
Contributor I
Hi, I have written a codewarrior project in C. But now I would like to se my code in asembler.
Are there anyway to generate asembler or machine code for my project?
 
thanks in advance
ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

884件の閲覧回数
CrasyCat
Specialist III
Hello
CodeWarrior generates directly object code for the CPU you are targeting.
However you can have a look at the code generated by the compiler.
 
The way you can access that depends on the CPU you are targeting.
So which CPU are you targeting?
 
Also are you building from the IDE or from batch?
 
CrasyCat

884件の閲覧回数
patti
Contributor I
I am using S12X XGATE, I am compiling and building via IDE.
0 件の賞賛
返信

884件の閲覧回数
CrasyCat
Specialist III
Hello
 
Then for HC12 tools, just add option -Lasm to your compiler command line.
This will generate a file with extension .c.lst, which will show disassembly listing for the source file.
 
CrasyCat

884件の閲覧回数
YONDA
Contributor I
how would you do it for the PowerPC complier?
0 件の賞賛
返信