Texas Instruments TMS320C28x Reference Manual page 189

Dsp cpu and instruction set
Table of Contents

Advertisement

ADDB SP, #7bit
ADDB SP, #7bit
SYNTAX OPTIONS
ADDB SP, #7bit
Operands
SP
#7bit
Description
Flags and
Modes
Repeat
Example
FuncA:
ADDB SP, #N
.
.
.
SUBB SP, #N
LRETR
6-32
1111 1110 0CCC CCCC
Stack pointer
7-bit immediate unsigned constant value
Add a 7-bit unsigned constant to SP and store the result in SP:
SP = SP + 0:7bit;
None
This instruction is not repeatable. If this instruction follows the RPT instruction,
it resets the repeat counter (RPTC) and executes only once
Add 7-bit Constant to Stack Pointer
OPCODE
; Function with local variables on stack.
; Reserve N 16-bit words of space for
; local variables on stack:
; Deallocate reserved stack space.
; Return from function.
OBJMODE
RPT
CYC
X
1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF