2 Instructions
2-136
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 left.
The contents of CIO 100.15 will be shifted to
the Carry Flag (CY) and the Carry Flag con-
tents will be shifted to CIO 100.00.
ROL
100
0.00
Wd
015
0
CY
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 01
01514 1CY
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
Instruction executed once
Wd: CIO 100