Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-46
SFR(P),SFL(P)
7.3 Shift instruction
7.3.1 n-bit shift to right or left of 16-bit data (SFR(P),SFL(P))
SFR(P),SFL(P)
Function
SFR
(1) Causes a shift to the right by n bits of the 16-bit data from the device designated at .
The n bits from the upper bit are filled with 0s.
(2) When a bit device is designated for , a right shift is executed within the device range
specified by digit specification.
: Head number of the devices where shift data is stored (BIN 16 bits)
n : Number of shifts (0 to 15) (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– ––
n ––
Basic
Process
High
performance
Redundant
Universal
Command
Command
P
D
n
D
n
SFR, SFL
SFRP, SFLP
indicates an instruction symbol of SFR/SFL.
D
D
D
1110111011101110
0000001110111011
b15 b8 b0
b7
b0
b7
b15 b8
1
b14
b13
b12b11
b10 b9 b6
b5 b4
b3
b2 b1
b14
b13
b12b11
b10 b9 b6
b5 b4
b3
b2 b1
Carry flag
(SM700)
Filled with 0s.
When n=6:
D
D
D
101010 101010
0000
1
0
1
0
1
0
1
0
Y18 Y10Y17
Y10Y17Y18
1
Y1B Y14Y13
Y1B Y14Y13
Carry flag
(SM700)
When n = 4:
Filled with 0s.