PERM

PERM

Operation:
Source Destination -->; Destination

Assembler Syntax:
PERM <#imm>, Dn,Dm

Attributes: Size = LONG

Description: Performs a byte permutation of two data registers to create one 32bit result.


Condition Codes:

No Condition Codes affected.

Example:

1)
D1 = $01234567
D2 = $89ABCDEF
PERM #0167,D1:D2

Result: D3 = $0123CDEF