dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 157

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
Operation
Operation
BFTSTH
BFTSTL
TSTW
LEA
#<MASK16>,X:(R2+xx)
#<MASK16>,X:(R2+xx)
#<MASK16>,X:(SP-xx)
#<MASK16>,X:(SP-xx)
#<MASK16>,DDDDD
#<MASK16>,DDDDD
#<MASK16>,X:<<pp
#<MASK16>,X:<<pp
#<MASK16>,X:xxxx
#<MASK16>,X:xxxx
(Rn+xxxx)
Operands
#<MASK16>,X:aa
#<MASK16>,X:aa
(R2+xx)
(Rn)+N
(SP-xx)
(Rn)+
(Rn)-
(Rn)-
Operands
Table 6-30. Bit-Manipulation Instructions
Table 6-29. AGU Arithmetic Instructions
Instruction Set Introduction
C
2
2
2
2
2
4
2
W
1
1
1
1
1
2
1
C
4
6
6
4
4
6
4
6
6
4
4
6
Increment the Rn pointer register
Decrement the Rn pointer register
Add N index register to the Rn register and store the result in
the Rn register
Add a 6-bit unsigned immediate value to R2 and store in the
R2 pointer
Subtract a 6-bit unsigned immediate value from SP and store
in the SP register
Add a 16-bit signed immediate value to the specified source
register
Test and decrement AGU register. Refer to Table 6-25 for
other forms of TSTW that are executed in the Data ALU.
W
2
2
2
2
2
3
2
2
2
2
2
3
BFTSTH tests all bits selected by the 16-bit
immediate mask. If all selected bits are set, then
the C bit is set. Otherwise it is cleared.
All registers in DDDDD are permitted except
HWS.
X:aa represents a 6-bit absolute address. Refer to
Absolute Short Address (Direct Addressing):
<aa> on page 4-22
X:<<pp represents a 6-bit absolute I/O address.
BFTSTL tests all bits selected by the 16-bit imme-
diate mask. If all selected bits are clear, then the C
bit is set. Otherwise it is cleared.
All registers in DDDDD are permitted except
HWS.
X:aa represents a 6-bit absolute address. Refer to
Absolute Short Address (Direct Addressing):
<aa> on page 4-22
X:<<pp represents a 6-bit absolute I/O address.
DSP56800 Instruction Set Summary
Comments
Comments
6-25

Related parts for dsp56800