Yaskawa MP930 User Manual
Page 45

MP930 Specifications and System Configuration
2.1.3 Function Lists
2 -20
Type
Description
Abbreviated
Instructions
Symbol
Name
Data
Operation
Instructions
BIT ROTATION
LEFT and BIT
ROTATION
RIGHT
ROTR
ROTL
ROTR
ROTL
Example: ROTR
Bit-addr
Count Width
ROTR MB00100A → N = 1 W = 20
MOVE BITS
MOVB
MOVB
Source
Desti.
Width
MOVB MB00100A → MB00200A W = 20
MOVE WORD
MOVW
MOVW
Source
Desti.
Width
MOVW MB00100 → MB00200 W = 20
EXCHANGE
XCHG
XCHG
Source1
Source2 Width
XCHG MB00100 → MB00200 W = 20
SET WORDS
SETW
SETW
Desti.
Data
Width
SETW MW00200 D = 00000 W = 20
BYTE-TO-WORD
EXPANSION
BEXTD
BEXTD
Expands the byte data stored in the word registers into
words.
BEXTD MW00100 to MW00200 B = 10
WORD-TO-BYTE
COMPRESSION
BPRESS
BPRESS
Collects the lower bytes of the word data stored in the word
register area.
BPRESS MW00100 to MW00200 B = 10
BINARY SEARCH BSRCH
BSRCH
Retrieves the register position that matches the data within
the designated register range.
BSRCH MW00000 W = 20 D = 100 R = MW00100
SORT
SORT
SORT
Sorts registers within the designated register range.
SORT MW00000 W = 100
BIT SHIFT LEFT
SHFTL
SHFTL
Shifts the designated bit strings to the left.
SHFTL MB00100A N = 1 W = 20
BIT SHIFT RIGHT SHFTR
SHFTR
Shifts the designated bit strings to the right.
SHFTR MB00100A N = 1 W = 2
COPY WORD
COPYW
COPYW
Copies the designated register range.
COPYW MW00100 → MW00200 W = 20
BYTE SWAP
BSWAP
BSWAP
The upper and lower bytes of the designated word are
swapped.
BSWAP MW00100
2