8 word-to-byte compression (bpress), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 195

5.7 Data Shift Instructions
5.7.8 Word-to-byte Compression (BPRESS)
5-126
5.7.8 Word-to-byte Compression (BPRESS)
( 1 ) Operation
The BPRESS instruction stores the lower bytes of word data for the designated number of bytes to move starting from
the first source register address, in the area that starts from the first destination register address, one byte at a time. This
instruction performs the opposite operation of the BEXTD instruction.
The word data designated by the number of bytes to move is moved from the first source register address to the area
that starts with the first destination register address.
The upper byte is discarded.
( 2 ) Format
∗ C and # registers cannot be used.
a
b
c
d
a
e
b
f
c
g
d
h
Lower byte
Upper byte
Lower byte
Upper byte
Lower byte
Upper byte
Lower byte
Upper byte
0
MW
MW + 1
MW + 2
MW + 3
Lower byte
Upper byte
Lower byte
Upper byte
Lower byte
MW
MW + 1
Number of bytes
to move
Source area
Destination area
Number of bytes
to move
First destination
register address
First source
register address
Icon:
Key entry: BPRESS
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
First source register
address (Src)
×
{
×
×
×
×
×
First destination register
address (Dest)
×
{
*
×
×
×
×
×
Number of bytes to move
(Width)
×
{
×
×
×
{
{