Xch -31, Xchn -31 – Maxim Integrated MAXQ7666 User Manual

Page 368

Advertising
background image

MAXQ7665/MAXQ7666 User’s Guide

14-31

XCH

Exchange Accumulator Bytes

Description:

Exchanges the upper and lower bytes of the active accumulator.

Status Flags:

S

Operation:

Acc.[15:8]

← Acc.[7:0]

Acc.[7:0]

← Acc.[15:8]

Encoding:

15

0

Example(s):

; Acc = 2345h

XCHN

; Acc = 4523h

XCHN

Exchange Accumulator Nibbles

Description:

Exchanges the upper and lower nibbles in the active accumulator byte(s).

Status Flags:

S

Operation:

Acc.[7:4]

← Acc.[3:0]

Acc.[3:0]

← Acc.[7:4]

Acc.[15:12]

← Acc.[11:8]

Acc.[11:8]

← Acc.[15:12]

Encoding:

15

0

Example(s):

; Acc = 2345h

XCHN

; Acc = 3254h

1000 1010 0111 1010

1000 1010 1000 1010

Maxim Integrated

Advertising
This manual is related to the following products: