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.

float 变量内存值和watch expression 中不一样

float 变量 b.

在memory 中的值为

 

在watch expression 中的值却是:

程序是:

   asm(" MOVW DP, #0x305");
   asm(" MOV ACC, @0x03");
   asm(" SUB ACC, #32768");
   asm(" MOVL @0x34, ACC");