dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 238

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Bit-Manipulation Unit
In addition to having the ability to branch based on a single bit, the BR1SET and BR1CLR operations can
also specify a 16-bit mask, as compared to an 8-bit mask for BRSET and BRCLR. These operations allow
the same addressing modes as the BFTSTH and BFTSTL instructions.
7.5.4.3
The JR1SET and JR1CLR operations function almost identically to the BR1SET and BR1CLR operations
that are described in Section 7.5.4.2, “BR1SET and BR1CLR Operations.” The JR1SET and JR1CLR
operations differ from the BR1SET and BR1CLR operations in that the former pair uses absolute
addressing. See Example 7-11.
; JR1SET Operation — performed in two DSP56800E instructions
; JR1CLR Operation — performed in two DSP56800E instructions
The JR1SET and JR1CLR operations specify a 16-bit mask and a 19-bit target address, allowing jumps to
anywhere in the program address space. These operations allow the same addressing modes as the
BFTSTH and BFTSTL instructions.
7-10
BFTSTL
JCC
BFTSTH
JCC
JR1SET and JR1CLR Operations
#MASK,X:<ea> ; 16-bit mask allowed
LABEL11
#MASK,X:<ea> ; 16-bit mask allowed
LABEL11
Example 7-11. JR1SET and JR1CLR Operations
DSP56800E Core Reference Manual
; 19- and 21-bit jump to absolute address allowed
; 19- and 21-bit jump to absolute address allowed
Freescale Semiconductor

Related parts for dsp56800e