This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to define a floating point constant in assembly language



This is an easy question, and I'm sorry for asking it, but I'm not finding the answer in the manuals.

In assembly language, I want to use the MVKL and MVKH instructions to load an immediate floating point constant into a register. Something like this:

          MVKL     (5.5e-22),     A10
          MVKH     (5.5e-22),     A10

How do I do that?

Thanks for your help.

 

 

Note:  I found the ".float" directive in the TMS320C6000 Assembly Language Tools v7.3 User's Guide, but it doesn't describe how to achieve the above result.