Hardware 版 (精华区)
发信人: edmcgy (达达尼), 信区: Hardware
标 题: DSP(Data Signal Processor)的应用(8)
发信站: 紫 丁 香 (Thu Apr 23 15:28:14 1998), 转信
Workaround/Solution
WORKAROUND/SOLUTION
===================
1. Make nested structure member first member in parent
structure definition.
i.e.
typedef struct
{ LEVEL2 nest;
int mem3, mem4, mem5;
} LEVEL1;
2. Compile without optimization.
Title: I have experienced the following problem in the C5x C-compiler...
Bug #
Tool
Version
Fixed?
SDSsq02049
Compiler
V6.60
Fixed, will appear in next release.
Bug Description
BUG DESCRIPTION
===============
The compiler generates a macro for RPTK that is placed at the
beginning of the generated assembly file. If you insert an
asm statement in the C source code that uses the repeat instruction
this gets replaced by the macro and can lead to errors at assemble
time.
i.e. main()
{
asm(" rpt #1");
Results in assembler error
19 0000 0001 rpt #1
********* WARNING - TRAILING OPERAND(S)
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: edmcgy.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.744毫秒