Texas Instruments MSP50C6xx User Manual
Page 235
Individual Instruction Descriptions
4-149
Assembly Language Instructions
4.14.53
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.53.1
ORB A2, 0x45
OR 0x45 immediate to accumulator A2 lower 8 bits.