Division of 16 bit signed value in codewarrior for MC56F8356 controller application

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

Division of 16 bit signed value in codewarrior for MC56F8356 controller application

2,157件の閲覧回数
Kanthi
Contributor II
Hello Pascal,
 
    Need your help of 16 bit division of integers in Code Warrior. I am unable to get a 16 bit division value, i am taking help of the file: ARTDIVS16UZ.asm from the math_support folder. Other than adding that asm file, should i need to do anything else?
 
   Can you please help me in this aspect?
 
Thank you,
Kanthi Uppala
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

685件の閲覧回数
trytohelp
NXP Employee
NXP Employee
Hello Kanthi,
 
ARTDIVS16UZ.asm file is included in the runtime function.
by default the runtime lib is included in the project.
You don't need to add the asm file in your project.
For instance:
 j=i/j;
is using this function.
 
Please have a look to the project attached.
 
Regards
Pascal
0 件の賞賛
返信