Fractional in ASM , CodeWarrior, 56F801

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

Fractional in ASM , CodeWarrior, 56F801

1,781件の閲覧回数
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 返信

740件の閲覧回数
trytohelp
NXP Employee
NXP Employee
Hi,
 
You can write the following code:
temp1:  dc  0.2556
 
Regards
Pascal
0 件の賞賛
返信