Download Texas Instruments MSP50C614 User's Manual

Transcript
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
ORB An, imm8
1
0
1
0
1
0
0
9
8
An
7
6
5
4
3
2
1
0
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