8 word-to-word compression instruction (bpress) – Yaskawa Ladder Works Programming Manual User Manual
Page 113

6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS)
6-16
6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS)
[Outline]
The BPRESS instruction stores the lower-place bytes of the word sequence stored in the transfer source
registers (Source) in the byte sequence of the transfer destination registers (Dest). The higher-place
bytes of the transfer source registers are ignored. This function is the reverse of that of the BEXTD
instruction.
VWxxxxx
When the number of transfered bytes
is an odd number, "0" is set.
V=S, I, O, M, D
Dest
Source
Number of
Transfers
(Number of bytes)
a (Lower byte)
b (Upper byte)
c
d
e
00
a (Lower byte)
xxH (Upper byte)
b
xxH
c
xxH
d
xxH
e
xxH
VWyyyyy
VWyyyyy+2
VWyyyyy+1
In the case of BPRESS VWxxxxx to VWyyyyy B=N
VWxxxxx+1
VWxxxxx+2
VWxxxxx+3
VWxxxxx+4
[Format]
Symbol : BPRESS
Full Name : Compress Word to Byte
Category : MOVE
Icon :
[Parameter]
Parameter Name
Setting
Source
· Any integer type register
· Any integer type register with subscript
Dest
· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)
Byte Width
· Any integer type register
· Any integer type register with subscript
· Constant