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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,879 次查看
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 回复

407 次查看
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 项奖励
回复