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