Texas Instruments MSP50C614 manual ORB Bitwise or Byte, Or src, Accumulator is affected

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 239
Image 239

Individual Instruction Descriptions

4.14.52 ORB

Bitwise OR Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

 

dest, src

 

 

 

 

 

Clock, clk

Word, w

 

 

With RPT, clk

 

 

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ORB

 

An, 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 An, imm8

 

1

0

 

1

0

1

0

 

0

 

An

 

 

 

 

 

 

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.

Assembly Language Instructions

4-147

Page 239
Image 239
Texas Instruments MSP50C614 manual ORB Bitwise or Byte, Or src, Accumulator is affected