368
WTOB, WTOBP, BTOW, BTOWP
[Operation]
: Head number of the devices where data to be dissociated/linked in byte units is stored (BIN 16 bits)
: Head number of the devices where the result of dissociated/linking in byte units will be stored (BIN 16 bits)
n
: Number of byte data to be dissociated/linked (BIN 16 bits)
Function
WTOB
(1) Dissociates n-bytes of the 16-bit data stored into the area starting from the device number designated by , and stores
them following the device designated by .
For example, if n 5, data through the lower 8 bits of to ( +2) would be stored from ( to +4).
WTOB, WTOBP
Data dissociation in byte units
BTOW, BTOWP
Data linking in byte units
7.5.9
WTOB, WTOBP, BTOW, BTOWP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
n
––
0 0 0 1 0 1 1 0 0 1 0 1 1 1 0 0
Filled with 0s.
D0
The data in these bits is ignored.
6 bits
3 bits
4 bits
0 0 0 1 0 1 1 0 0 1 1 0 1 1 0 0
b3
b0
0 1 0 1 1 1 1 0 1 0 0 0 1 1 0 1
b7
b12
0 0 1 1 1 0 1 1 0 0 1 0 1 1 0 0
b5
b0
b2 b0
D12
D11
D10
b4
b6
b3
b0
Basic
Process
High
performance
Redundant Universal
LCPU
n
n
WTOB, BTOW
WTOBP, BTOWP
D
D
Command
Command
S
S
P
indicates an instruction s
y
mbol of
W
TOB/BTO
W
.
S
D
S
D
S
D
U
pper b
y
te Lower b
y
te
U
pper b
y
te Lower b
y
te
U
pper b
y
te Lower b
y
te
Data of lower b
y
te
00
H
Data of upper b
y
te
Data of lower b
y
te
Data of upper b
y
te
Data of lower b
y
te
Data of upper b
y
te
b15
b8b7
b0
b15
b8 b7
b0
D
S
S
D
D
D
D
D
S
n b
y
tes
*
1: Fractions that follow the decimal
point are rounded up.
n
2
+
(
-1
)
*
1
+1
00
H
00
H
00
H
00
H
00
H
+3
+2
+1
+
(
n-2
)
+
(
n-1
)
S
S
D
D
b15
b8b7
b0
b15
b8 b7
b0
D
S
S
D
D
D
39
H
78
H
56
H
39
H
00
H
12
H
00
H
78
H
00
H
56
H
00
H
DC
H
00
H
DC
H
FE
H
W
hen
n
=
5
b
y
tes
I
gnored
when
n
=
5
D
S
12
H
+
1
+
2
+
1
+
2
+
3
+4