
f : Can be used
: Cannot be used
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
322
PA1 PA3 SA1 SA2 SA3 SA5 SB SB2 SB3 SB4 SB5 SB6 SB7 SC SC3 SC4 NB NB2 NB6
f f f f f f f f f f f f f
The OR instruction ORs the contents of address A with a constant (or the
contents of address B), and stores the result at address C.
OR
SUB 61
Format
specification
Address
A
Constant
or
address
B
Address
C
ACT
(a) Input signal
ACT=0 : The OR instruction is not executed.
ACT=1 : The OR instruction is executed.
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format
(constant or address specification).
Data length specification
1 : 1 byte
2 : 2 bytes
4 : 4 bytes
Format specification
0: Constant
1 : Address specification
(b) Address A
Input data to be ORed. The data that is held starting at this address
and has the data length specified in format specification is treated as
input data.
(c) Constant or address B
Input data to be ORed with. When address specification is selected
in format specification, the data that is held starting at this address
and has the data length specified in format specification is treated as
input data.
(d) Address C
Address used to store the result of an OR operation. The result of an
OR operation is stored starting at this address, and has the data length
specified in format specification.
5.59
OR (LOGICAL OR)
5.59.1
Function
5.59.2
Format
5.59.3
Control Conditions
5.59.4
Parameters