Byteop3P (Dual 16-Bit Add / Clip) - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Instruction Overview

BYTEOP3P (Dual 16-Bit Add / Clip)

General Form
dest_reg = BYTEOP3P ( src_reg_0, src_reg_1 ) (LO)
dest_reg = BYTEOP3P ( src_reg_0, src_reg_1 ) (HI)
dest_reg = BYTEOP3P ( src_reg_0, src_reg_1 ) (LO, R)
dest_reg = BYTEOP3P ( src_reg_0, src_reg_1 ) (HI, R)
Syntax
/* forward byte order operands */
Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (LO) ;
bytes (b) */
Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (HI) ;
bytes (b) */
/* reverse byte order operands */
Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (LO, R) ;
low bytes (b) */
Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (HI, R) ;
high bytes (b) */
Syntax Terminology
:
Dreg
R7–0
:
Dreg_pair
R1:0
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Dual 16-Bit Add / Clip instruction adds two 8-bit unsigned values to
two 16-bit signed values, then limits (or "clips") the result to the 8-bit
unsigned range 0 through 255, inclusive. The instruction loads the results
18-8
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
,
, only
R3:2
/* sum into low
/* sum into high
/* sum into
/* sum into

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents