DINT
SYNTAX OPTIONS
DINT
Note:
This instruction is an alias for the "SETC mode" operation with the "mode" field = INTM.
Operands
Description
Flags and
INTM
Modes
Repeat
Example
; Make the operation "VarC = VarA + VarB" atomic:
DINT
MOVL
ADDL
MOVL
EINT
0011 1011 0001 0000
None
Disable all maskable CPU interrupts by setting the INTM status bit. DINT has
no effect on the unmaskable reset or NMI interrupts.
The instruction sets this bit to disable interrupts.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
ACC,@VarA
ACC,@VarB
@VarC,ACC
Disable Maskable Interrupts (Set INTM Bit)
OPCODE
; Disable interrupts (INTM = 1)
; ACC = VarA
; ACC = ACC + VarB
; Store result into VarC
; Enable interrupts (INTM = 0)
DINT
OBJMODE
RPT
CYC
X
−
2
6-85
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?