Hardware 版 (精华区)

发信人: edmcgy (达达尼), 信区: Hardware
标  题:  DSP(Data Signal Processor)的应用(16)
发信站: 紫 丁 香 (Thu Apr 23 15:56:59 1998), 转信

Workaround/Solution

 WORKAROUND/SOLUTION
 ===================
  
  Compile with -v25  -n options to create the assembly file only.
 Then assemble with -v50 option. Or increment the pointer in a
 separate expression.







 Title: A loop with large integer constant inital & final vals loops forever
 Bug #
                                                                        Tool
                                                                                                                         Version
                                                                                                                                                                       Fixed?
 SDSsq03410
                                                                        Compiler
                                                                                                                         V6.60
                                                                                                                                                                       Fixed, will appear in next release.
 Bug Description

 BUG DESCRIPTION
 ===============
 When handling a comparison of the form...
  
   (  CONSTANT)
  
   i.e.   long i;
  
           if (i <= 1800000) the compiler erroneously does the comprison by negating the constant and then adding rather than doing a subtract. However, the sequence of branch instructions which follow the comparison presume the use of subtract 
instructions. Add instructions do not set the status bits as those branch instructions expect. 
 

--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: edmcgy.hit.edu.c]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.362毫秒