Intel 8XC196MD, 8XC196MH, 8XC196MC manual Xor, Dest ← Dest XOR SRC

Models: 8XC196MD 8XC196MH 8XC196MC

1 579
Download 579 pages 24.12 Kb
Page 429
Image 429

8XC196MC, MD, MH USER’S MANUAL

Table A-6. Instruction Set (Continued)

Mnemonic

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

XCH

EXCHANGE WORD. Exchanges the value of

 

DEST, SRC

 

the source word operand with that of the

XCH

wreg, waop

 

destination word operand.

 

 

 

 

 

 

 

(00000100) (waop) (wreg) direct

 

(DEST) (SRC)

 

 

 

 

 

 

 

 

 

 

 

(00001011) (waop) (wreg) indexed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

VT

ST

 

 

 

 

 

— —

 

 

 

 

 

 

 

 

XCHB

EXCHANGE BYTE. Exchanges the value of

 

DEST, SRC

 

the source byte operand with that of the

XCHB

breg, baop

 

destination byte operand.

 

 

 

 

 

 

 

(00010100) (baop) (breg) direct

 

(DEST) (SRC)

 

 

 

 

 

 

 

 

 

 

 

(00011011) (baop) (breg) indexed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

VT

ST

 

 

 

 

 

— —

 

 

 

 

 

 

 

 

XOR

LOGICAL EXCLUSIVE-OR WORDS. XORs

 

DEST, SRC

 

the source word operand with the destination

XOR

wreg, waop

 

word operand and stores the result in the

 

(100001aa) (waop) (wreg)

 

destination operand. The result has ones in

 

 

 

 

the bit positions in which either operand (but

 

 

 

not both) had a “1” and zeros in all other bit

 

 

 

positions.

 

 

 

 

 

 

 

 

 

 

(DEST) (DEST) XOR (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

VT

ST

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

XORB

LOGICAL EXCLUSIVE-OR BYTES. XORs

 

DEST, SRC

 

the source byte operand with the destination

XORB

breg, baop

 

byte operand and stores the result in the

 

(100101aa) (baop) (breg)

 

destination operand. The result has ones in

 

 

 

 

the bit positions in which either operand (but

 

 

 

not both) had a “1” and zeros in all other bit

 

 

 

positions.

 

 

 

 

 

 

 

 

 

 

(DEST) (DEST) XOR (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

VT

ST

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-40

Page 429
Image 429
Intel 8XC196MD, 8XC196MH, 8XC196MC manual Xor, Dest ← Dest XOR SRC