beautypg.com

Texas Instruments MSP50C614 User Manual

Page 239

background image

Individual Instruction Descriptions

4-147

Assembly Language Instructions

4.14.52

ORB

Bitwise OR Byte

Syntax

[label]

name

dest, src

Clock,

clk

Word,

w

With RPT,

clk

Class

ORB

A

n, imm8

1

1

N/R

2a

Execution

dest

dest OR src

PC

PC + 1

Flags Affected

OF, SF, ZF, CF are set accordingly

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

ORB A

n, imm8

1

0

1

0

1

0

0

A

n

imm8

Description

Bitwise OR byte of

src and dest. Result is stored in dest. Only lower 8 bits of

accumulator is affected.

See Also

OR, ORS, AND, ANDS, XOR, XORS, NOTAC, NOTACS

Example 4.14.52.1

ORB A2, 0x45

OR 0x45 immediate to accumulator A2 lower 8 bits.