Modify - Increment - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Modify – Increment
General Form
dest_reg += src_reg
dest_reg = ( src_reg_0 += src_reg_1 )
Syntax
40-Bit Accumulators
A0 += A1 ;
the result at 40 bits (b) */
A0 += A1 (W32) ;
signed saturate the result at 32 bits, sign extended (b) */
32-Bit Registers
Preg += Preg (BREV) ;
src_reg, bit reversed carry, only (a) */
Ireg += Mreg (opt_brev) ;
src_reg, optional bit reverse (a) */
Dreg = ( A0 += A1 ) ;
tion at 40 bits, then extract the result into a 32-bit register
with saturation at 32 bits
16-Bit Half-Word Data Registers
Dreg_lo_hi = ( A0 += A1 ) ;
saturation at 40 bits, then extract the result into a half regis-
ter. The extraction step involves first rounding the 40-bit
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* dest_reg_new = dest_reg_old + src_reg, saturate
/* dest_reg_new = dest_reg_old + src_reg,
/* dest_reg_new = dest_reg_old +
/* increment 40-bit A0 by A1 with satura-
Arithmetic Operations
/* dest_reg_new = dest_reg_old +
(b) */
/* Increment 40-bit A0 by A1 with
15-37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents