Texas Instruments TMS320C28x Reference Manual page 329

Dsp cpu and instruction set
Table of Contents

Advertisement

MOV loc16,IER
MOV loc16,IER
SYNTAX OPTIONS
MOV loc16,IER
Operands
loc16
IER
Description
Flags and
g
N
Modes
Z
Repeat
Example
; Push the contents of IER on the stack and load IER with the
; contents of VarA:
MOV
MOV
6-172
Addressing mode (see Chapter 5)
Interrupt enable register
Save the content of the IER register in the location pointed to by the "loc16"
addressing mode:
[loc16] = IER;
If (loc16 = @AX) and bit 15 of AX is 1, then N is set; otherwise N is cleared.
If (loc16 = @AX) and the value of AX is zero, then Z is set; otherwise Z is
cleared.
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
Store Interrupt-Enable Register
OPCODE
0010 0000 LLLL LLLL
; Save IER on stack
; Load IER with contents of VarA
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