Intel Microcontroller, 80C196NU, 8XC196NP manual Dest ← Dest or SRC, Orb

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 338
Image 338

 

 

 

 

 

 

 

 

 

 

 

INSTRUCTION SET REFERENCE

 

 

 

Table A-6. Instruction Set (Continued)

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

 

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

 

OR

LOGICAL OR WORDS. ORs the source word

 

DEST, SRC

 

operand with the destination word operand

OR

wreg, waop

 

and replaces the original destination operand

 

(100000aa) (waop) (wreg)

 

with the result. The result has a “1” in each bit

 

 

 

 

position in which either the source or

 

 

 

destination operand had a “1”.

 

 

 

 

 

 

(DEST) (DEST) OR (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

 

VT

ST

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

ORB

LOGICAL OR BYTES. ORs the source byte

 

DEST, SRC

 

operand with the destination byte operand

ORB

breg, baop

 

and replaces the original destination operand

 

(100100aa) (baop) (breg)

 

with the result. The result has a “1” in each bit

 

 

 

 

position in which either the source or

 

 

 

destination operand had a “1”.

 

 

 

 

 

 

(DEST) (DEST) OR (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

 

VT

ST

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

POP

POP WORD. Pops the word on top of the

 

 

 

stack and places it at the destination

POP

waop

 

operand.

 

 

 

 

 

 

 

(110011aa) (waop)

 

(DEST) (SP)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SP SP + 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

 

VT

ST

 

 

 

 

 

— —

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-33

Page 338
Image 338
Intel Microcontroller, 80C196NU, 8XC196NP manual Dest ← Dest or SRC, Orb