2 Instructions
2-138 CP1E CPU Unit Instructions Reference Manual(W483)
Sample program
When CIO 0.00 is ON, word CIO 100
and the Carry Flag (CY) will shift one bit
to the right. The contents of CIO 100.00
will be shifted to the Carry Flag (CY) and
the Carry Flag contents will be shifted to
CIO 100.15.
ROR
100
0.00
Wd
015
0 1 0 0 1 0 0 1 0 0 1 0 0 1 00
01514 1
1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0
CY
1
CY
Instruction executed once
Wd: CIO 100