循环移位中碰到的问题:

已锁定

bluekoin

  • 帖子

    424
  • 精华

    4
  • 被关注

    3

论坛等级:侠客

注册时间:2003-06-06

普通 普通 如何晋级?

循环移位中碰到的问题:

440

0

2003-09-23 10:50:04

刚才看300的梯形图手册的循环移位部分的时候,我看到“ROL_DW (Rotate Left Double Word) is activated by a logic "1" at the Enable (EN)
Input. The ROL_DW instruction is used to rotate the entire contents of input IN bit
by bit to the left. The input N specifies the number of bits by which to rotate. If N is
larger than 32, the double word IN is rotated by ((N-1) modulo 32)+1 positions.”我对为什么要用“((N-1) modulo 32)+1”来算移位次数理解不明白,请赐教!!!谢先!
循环移位中碰到的问题: 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54755条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。