使用C28处理器,对时间要求苛刻的程序段,用汇编程序,但程序找问题时发现,使用MINL时,以某一负数作为下限,与正数比较时,执行后程序选择了正数,
如:
MINL ACC, @_MaxValue
此时ACC内容为负值,如0xFFFFF123, 而MaxValue = 0x00000456
执行结果,ACC = 0x00000456
显然,它是把两个数作为无符号数来处理的。
问题: 怎么样能让MINL执行有符号数的比较呢?
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.