Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-34
5.4 Rotation And Shift - Functions 30 to 39
Contents:
Pa
g
e
ROR - Rotation Ri
g
ht FNC 30 5-35
ROL - Rotation Left FNC 31 5-35
RCR - Rotation Ri
g
ht with Carr
y
FNC 32 5-36
RCL - Rotation Left with Carr
y
FNC 33 5-36
SFTR - (Bit) Shift Ri
g
ht FNC 34 5-37
SFTL - (Bit) Shift Left FNC 35 5-37
WSFR - Word Shift Ri
g
ht FNC 36 5-38
WSFL - Word Shift Left FNC 37 5-38
SFWR - Shift Re
g
ister Write FNC 38 5-39
SFRD - Shift Re
g
ister Read FNC 39 5-40
Symbols list:
D - Destination device.
S - Source device.
m, n- Number of active devices, bits or an operational constant.
Additional numeric suffixes will be attached if there are more than one operand with the same
function e.
g
. D
1
, S
3
or for lists/tabled devices D
3+0,
S
+9
etc.
MSB - Most Si
g
nificant Bit, sometimes used to indicate the mathematical si
g
n of a number, i.e.
positive = 0, and ne
g
ative = 1.
LSB - Least Si
g
nificant Bit.
Instruction modifications:
-
An instruction operatin
g
in 16 bit mode, where identifies the instruction
mnemonic.
P - A 16 bit mode instruction modified to use pulse (sin
g
le) operation.
D
- An instruction modified to operate in 32 bit operation.
D P - A 32 bit mode instruction modified to use pulse (sin
g
le) operation.
- A repetitive instruction which will chan
g
e the destination value on ever
y
scan unless
modified b
y
the pulse function.
- An operand which cannot be indexed, i.e. The addition of V or Z is either invalid or will
have no effect to the value of the operand.