Texas Instruments TMS320C28x Reference Manual page 320

Dsp cpu and instruction set
Table of Contents

Advertisement

MOV IER,loc16
SYNTAX OPTIONS
MOV IER,loc16
Operands
IER
loc16
Description
Flags and
Modes
Repeat
Example
; Push the contents of IER on the stack and load IER with the
; contents of VarA:
MOV
MOV
Interrupt-enable register
Addressing mode (see Chapter 5)
Enable and disable selected interrupts by loading the content of the location
pointed to by the "loc16" addressing mode into the IER register:
IER = [loc16];
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
*SP++,IER
IER,@VarA
Load the Interrupt-Enable Register
OPCODE
0010 0011 LLLL LLLL
; Save IER on stack
; Load IER with contents of VarA
MOV IER,loc16
OBJMODE
RPT
CYC
X
5
6-163

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