Panasonic FP7 Series Command Reference Manual page 32

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

1.2 List of High-level Instructions
Data buffer instruction
Operatio
Name
Compress shift
US, SS
read
Compress shift
US, SS
write
Buffer
US, SS
Definition
Data read
US, SS
(First-in-first-
out)
Data Write
US, SS
Data read
US, SS
(Last-in-first-
out)
Ring Buffer
Definition
Write to Ring
Buffer,
Calculation of
US, SS
Total Value
and Moving
Average Value
Bit Manipulation Instructions
Operatio
Name
16-bit Data
Specified Bit
US
Set
16-bit Data
Specified Bit
US
Reset
Bit Inversion
US
Bit Test
US
Carry-flag set
1-14
n
Mnemonic
Unit
CMPR
(P)
CMPW
(P)
DEFBUF (P)
FIFR
(P)
BUFW
(P)
LIFR
(P)
DEFRBU
(P)
F
RBUFW
(P)
n
Mnemonic
Unit
BTS
(P)
BTR
(P)
BTI
(P)
BTT
(P)
STC
(P)
Operand
Function overview
Transfer [D2] to [D3]. Any parts of the data
D1, D2,
between [D1] and [D2] that are 0 are
compressed, and shifted in order toward
D3
[D2].
Transfer [S] to [D1]. Any parts of the data
S, D1,
between [D1] and [D2] that are 0 are
D2
compressed, and shifted in order toward
[D2].
Defines the area of [n] words starting from
n, D
[D] as the data buffer area to be used for
FIFR/BUFW/LIFR instruction.
Reads data from the area indicated by the
S, D
read pointer of the FIFO buffer starting from
[S], and stores it in [D].
Stores the value of [S] in the area indicated
S, D
by the write pointer of the buffer starting
with [D].
Reads data from the area indicated by the
S, D
LIFO pointer of the LIFO buffer starting with
[S], and stores it in [D].
Defines the area of [n] words starting with
n, D
[D] as the data buffer area to be used for
RBUFW instruction.
Reads data from the area indicated by the
S, D
read pointer of the FIFO buffer starting from
[S], and stores it in [D].
Operand
Function overview
Turns ON (1) the [n]th bit in the area
D, n
specified by [D].
Turns OFF (0) the [n]th bit in the area
D, n
specified by [D].
Invert the value of bit position [n] of the
D, n
data of [D].
When the value of bit [n] of the data of [D]
is 0, the system relay (SRB) turns ON.
D, n
When the value is 1, the system relay
(SRB) turns OFF.
Turns ON the carry flag (SR9).
Page
"P.8-30"
"P.8-32"
"P.8-34"
"P.8-37"
"P.8-40"
"P.8-42"
"P.8-45"
"P.8-47"
Page
"P.9-2"
"P.9-4"
"P.9-6"
"P.9-8"
"P.9-10"
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents