Panasonic fp2/fp2sh User Manual page 336

Programmable controller
Table of Contents

Advertisement

Num
Name
-ber
FIFO instructions
F115
FIFO buffer define
P115
F116
Data read from
P116
FIFO buffer
F117
Data write into
P117
FIFO buffer
Basic function instructions
F118
UP/DOWN counter
F119
Left/right shift
register
Data rotate instructions
F120
16-bit data right
P120
rotate
F121
16-bit data left
P121
rotate
F122
16-bit data right
P122
rotate with carry
flag (R9009) data
F123
16-bit data left
P123
rotate with carry
flag (R9009) data
F125
32-bit data right
P125
rotate
F126
32-bit data left
P126
rotate
F127
32-bit data right
P127
rotate with carry
flag (R9009) data
F128
32-bit data left
P128
rotate with carry
flag (R9009) data
Bit manipulation instructions
F130
16-bit data bit set
P130
F131
16-bit data bit
P131
reset
F132
16-bit data invert
P132
F133
16-bit data bit test
P133
F135
Number of on (1)
P135
bits in 16-bit data
F136
Number of on (1)
P136
bits in 32-bit data
: Available,
: Not available,
11-68
Ope-
Boolean
rand
FIFT
n, D
The "n" words beginning from "D" are
PFIFT
defined in the buffer.
FIFR
S, D
The oldest data beginning from "S"
PFIFR
that was written to the buffer is read
and stored in "D".
FIFW
S, D
The data of "S" is written to the buffer
PFIFW
starting from "D".
UDC
S, D
Counts up or down from the value
preset in "S" and stores the elapsed
value in "D".
LRSR
D1,
Shifts one bit to the left or right with
D2
the area between "D1" and "D2" as
the register.
ROR
D, n
Rotates the "n" bits in data of "D" to
PROR
the right.
ROL
D, n
Rotates the "n" bits in data of "D" to
PROL
the left.
RCR
D, n
Rotates the "n" bits in 17-bit area
PRCR
consisting of "D" plus the carry flag
(R9009) data to the right.
RCL
D, n
Rotates the "n" bits in 17-bit area
PRCL
consisting of "D" plus the carry flag
(R9009) data to the left.
DROR
D, n
Rotates the number of bits specified
PDROR
by "n" of the double words data (32
bits) specified by (D+1, D) to the
right.
DROL
D, n
Rotates the number of bits specified
PDROL
by "n" of the double words data (32
bits) specified by (D+1, D) to the left.
DRCR
D, n
Rotates the number of bits specified
PDRCR
by "n" of the double words data (32
bits) specified by (D+1, D) to the right
together with carry flag (R9009) data.
DRCL
D, n
Rotates the number of bits specified
PDRCL
by "n" of the double words data (32
bits) specified by (D+1, D) to the left
together with carry flag (R9009) data.
BTS
D, n
Sets the value of bit position "n" of
PBTS
the data of "D" to 1.
BTR
D, n
Sets the value of bit position "n" of
PBTR
the data of "D" to 0.
BTI
D, n
Inverts the value of bit position "n" of
PBTI
the data of "D".
BTT
D, n
Tests the value of bit position "n" of
PBTT
the data of "D" and outputs the result
to R900B.
BCU
S, D
Stores the number of on bits in the
PBCU
data of "S" in "D".
DBCU
S, D
Stores the number of on bits in the
PDBCU
data of (S+1, S) in "D".
: Not available partially
Description
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
7

Advertisement

Table of Contents
loading

Table of Contents