7 byte-to-word expansion instruction (bextd) – Yaskawa Ladder Works Programming Manual User Manual

Page 111

Advertising
background image

6.7 BYTE-TO-WORD EXPANSION Instruction (BEXTD)

6-14

6.7 BYTE-TO-WORD EXPANSION Instruction (BEXTD)

[Outline]

The BEXTD instruction stores the byte sequence stored in the transfer source registers (Source) one
byte at a time in the word sequence in the transfer destination registers (Dest). The higher-place
bytes of the transfer destination registers are set to 0.

VWyyyyy

V = S, I, O, M, D

Dest

Source

d

f

VWxxxxx

Number of

Transfers

(Number of bytes)

c

e

b

00H

c

00H

d

00H

e

00H

f

00H

a (Lower byte)

b (Upper byte)

VWxxxxx+1

VWxxxxx+2

VWyyyyy+1

VWyyyyy+2

VWyyyyy+3

VWyyyyy+5

VWyyyyy+4

a (Lower byte)

b (Upper byte)

[Format]

Symbol : BEXTD
Full Name : Extend Byte to Word
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

Advertising