Mitsubishi Electronics C64 Home Safety Product User Manual


 
8. Function Commands
RCL, RCLP
- 260 -
{ RCL, RCLP ... Left rotation of 16-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { {
{
{ { { { { { { {
n
{
{ { { { { {
{
{ { { { { { { { { {
{ {
3
RCL
Left rotation command
n
D
RCL
RCLP
RCLP
n
D
Setting data
n
No. of device where left
rotation data is stored.
D
Times (0 to 15)
Function
The 16-bit data designated with D is rotated n bits to the left including the carry flag.
The carry flag must be set to 1 or 0 before executing RCL, RCLP.
Carry flag
SM12B15B14B13B12B11B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
D
Executed n times
Execution conditions
The execution conditions for the RCL, RCLP are as shown below.
Left rotation command OFF
RCL
ON
Executed per scan
Executed per scan
RCLP