Download Print this page

Application Instruction - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

3.3

Application Instruction

Rotation instruction
■Rotating 16-bit data to the right
Instruction symbol
ROR
RORP
RCR
RCRP
■Rotating 16-bit data to the left
Instruction symbol
ROL
ROLP
RCL
RCLP
■Rotating 32-bit data to the right
Instruction symbol
DROR
DRORP
DRCR
DRCRP
3 CPU MODULE INSTRUCTION
64
3.3 Application Instruction
Description
Rotates the 16-bit binary data to the right by (n) bit(s) (not including the carry flag).
(SM700, SM8022)
b15
(d)
b0
(1)
(1): (n) bit right rotation
Rotates the 16-bit binary data to the right by (n) bit(s) (including the carry flag).
b15
(d)
b0
(SM700, SM8022)
(1)
(1): (n) bit right rotation
Description
Rotates the 16-bit binary data to the left by (n) bit(s) (not including the carry flag).
(SM700, SM8022)
b15
(d)
(1)
(1): (n) bit left rotation
Rotates the 16-bit binary data to the left by (n) bit(s) (including the carry flag).
(SM700, SM8022)
b15
(d)
(1)
(1): (n) bit left rotation
Description
Rotates the 32-bit binary data to the right by (n) bit(s) (not including the carry flag).
(d+1)
(d)
(SM700, SM8022)
b31
∙∙∙
b16 b15
∙∙∙
b0
(1)
(1): (n) bit right rotation
Rotates the 32-bit binary data to the right by (n) bit(s) (including the carry flag).
(d+1)
(d)
(SM700, SM8022)
b31
∙∙∙
b16 b15
∙∙∙
b0
(1)
(1): (n) bit right rotation
b0
b0
Reference
Page 371
Reference
Page 374
Reference
Page 377

Hide quick links:

Advertisement

loading