Texas Instruments TMS320C28x Reference Manual page 249

Dsp cpu and instruction set
Table of Contents

Advertisement

EINT
EINT
SYNTAX OPTIONS
EINT
Operands
Description
Flags and
INTM
Modes
Repeat
Example
; Make the operation "VarC = VarA + VarB" atomic:
6-92
Note:
This instruction is an alias for the "CLRC mode" operation with the "mode" field = INTM.
None
Enable interrupts by clearing the INTM status bit.
This bit is cleared by the instruction to enable interrupts.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
DINT
MOVL
ACC,@VarA
ADDL
ACC,@VarB
MOVL
@VarC,ACC
EINT
Enable Maskable Interrupts (Clear INTM Bit)
OPCODE
0010 1001 0001 0000
; Disable interrupts (INTM = 1)
; ACC = VarA
; ACC = ACC + VarB
; Store result into VarC
; Enable interrupts (INTM = 0)
OBJMODE
RPT
CYC
X
2

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF