Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->BYTEREV

BYTEREV    Byte Reverse Register

Compatibility:    MCF5282 and MCF5280.

Byte reversed Dx -> Dx
    
Assembler Syntax:BYTEREV.L  Dx
Size:    Long

The contents if the data register are byte-reversed.  Dx[31:24] is swapped with Dx[7:0], Dx[23:16] is swapped with Dx[15:8].

Condition Codes:  Not affected.