|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 cjsb37 于 2013-4-29 09:04 编辑
#define N 10
.SECTION/DM dm_data; /* Declare variables in data memory */
.VAR input[N]= "sin64.dat";
.ENDSEG;
.SECTION/PM pm_data; /* Declare variables in program memory */
.VAR output[N];
.ENDSEG;
.SECTION/PM seg_pmco;
.GLOBAL _main;
_main:
I0=input;
M0=1;
I8=output;
M8=1;
LCNTR=N,DO LOOP1 UNTIL LCE;
F0=DM(I0,M0);
LOOP1: PM(I8,M8)=F0;
NOP;
IDLE;
._main.END:
编译了一下却报错:
[Error li1060] The following symbols are referenced, but not mapped:
'input' referenced from .\Debug\Dtran.doj(seg_pmco)
'output' referenced from .\Debug\Dtran.doj(seg_pmco)
|
|