Fractional in ASM , CodeWarrior, 56F801

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fractional in ASM , CodeWarrior, 56F801

1,481 Views
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!
 
 
 
Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

440 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
You can write the following code:
temp1:  dc  0.2556
 
Regards
Pascal
0 Kudos
Reply