Insert "C function" in "Assembly program"

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

Insert "C function" in "Assembly program"

ソリューションへジャンプ
2,489件の閲覧回数
WT
Contributor I
The program is written in assembly using metrowerk codewarrior, however recently we were asked to insert "C code function" into the assembly file.
Is there a way to insert a "C code function" into an assembly program using metrowerks?
 
Your help is fully appreciated
Cheers
 
Its on a HCS08 processor
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
468件の閲覧回数
CrasyCat
Specialist III
Hello
 
I assume you want to call an ANSI C function from an assembly source file.
 
Am I right?
 
I would recommend to take a look at the HC08 assembler manual ({Install}\Help\PDF\Assembler_HC08.pdf where {Install} refers to your CodeWarrior installation directory).
 
There is a chapter "Mixed C and Assembler Applications" in there which explains how this works.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
469件の閲覧回数
CrasyCat
Specialist III
Hello
 
I assume you want to call an ANSI C function from an assembly source file.
 
Am I right?
 
I would recommend to take a look at the HC08 assembler manual ({Install}\Help\PDF\Assembler_HC08.pdf where {Install} refers to your CodeWarrior installation directory).
 
There is a chapter "Mixed C and Assembler Applications" in there which explains how this works.
 
CrasyCat
0 件の賞賛
返信