Microchip
直播中

王金凤

8年用户 221经验值
私信 关注
[问答]

如何识别慢速指令?

嗨,我忙着用DSPICFJ128GP802,I,M查看编译器内存视图,看看代码需要多少指令。什么指令需要更多的1个周期?提前感谢

以上来自于百度翻译


      以下为原文

    Hi, i,m busy with DSPICFJ128GP802,
i,m looking in the compiler memory view to see how many instructions a code takes.

What are instructions that take more then 1 cycle ?

thanks in advance

回帖(19)

李兆峰

2019-3-1 10:33:30
应该在数据表-我似乎记得大多数RAM访问指令,特别是如果涉及EDS…

以上来自于百度翻译


      以下为原文

    Should be in the datasheet - I seem to remember most RAM accessing instructions, especially if EDS is involved...
举报

冯待策

2019-3-1 10:52:51
好的,谢谢。我去看看。

以上来自于百度翻译


      以下为原文

    Ok thanks i will take a look.
举报

李天竹

2019-3-1 11:02:12
大多数是1个周期。跳跃、呼叫、返回等是2个周期。TBRRDL和/或PSV接入需要额外的周期。这都是有据可查的。

以上来自于百度翻译


      以下为原文

   


Most are 1 cycle. Jumps, calls, returns etc. are 2 cycle. TBLRDL and/or PSV access takes extra cycles. It is all well documented.
举报

冯待策

2019-3-1 11:19:10
好的,我在指令集概览中找到了,只有一些人说:CysEs1(2)OR1(2或3)的哪一个是哪个?

以上来自于百度翻译


      以下为原文

    Ok i found it in instruction set overview, only some say :
 
# of cycles
1 ( 2 )
or
1 ( 2 or 3 )
 
Which one is it ?
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分