Fractional in ASM , CodeWarrior, 56F801

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

Fractional in ASM , CodeWarrior, 56F801

1,759 次查看
Vilbcam
Contributor I
Hi
I need to  declare variables to hold fractionals, using 56F801 in Codewarrior ASM ,  for example:
 
temp1  dc  $0.2556  
 
Later I will perform additions and put it back to  X:temp1. What are the sintax for that?
 
Thanks!
 
 
 
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

718 次查看
trytohelp
NXP Employee
NXP Employee
Hi,
 
You can write the following code:
temp1:  dc  0.2556
 
Regards
Pascal
0 项奖励
回复