Operation:
Selecter RegSrc:RegDest --> RegDest
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:
D2 = $0123CDEF
Mind that Byte Numbers selected with 3bits.
An other words the numbering is in octal.