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.

16位乘16位问题



处理器是F28335 CCSv4

void foo()

{

    static uint64_t sum_A;

    sum_A = 1326 * 1326;

}

得到的结果不对

而必须对1326 进行强制转换 且 sum_A 必须放到函数外部

处理器核的寄存器是16位的吗? 那sum_A也必须成为全局变量?