Get to Assembler from C

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

Get to Assembler from C

1,438件の閲覧回数
Dwight
Contributor I
I need to drop into the assembler (either in-line or a call), and have access to variables in the C portion of the program.
 
Also, what registers do I need to be careful about altering/restoring?
 
Thx,
D

ラベル(1)
0 件の賞賛
返信
1 返信

595件の閲覧回数
J2MEJediMaster
Specialist I
If you're using CodeWarrior, check the ColdFire Build Tools Reference document (ColdFire_Build_Tools_Reference.pdf) that came with the CodeWarrior installation. You can find it in the CodeWarrior directory, within the \Help subdirectory. In particular, study the section "Inline Assembly". HTH.

---Tom
0 件の賞賛
返信