MOV IER,loc16
6-163
MOV IER,loc16 Load the Interrupt-Enable Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOV IER,loc16 0010 0011 LLLL LLLL X − 5
Operands IER Interrupt-enable register
loc16 Addressing mode (see Chapter 5)
Description 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];
Flags and
Modes
None
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Example
; Push the contents of IER on the stack and load IER with the
; contents of VarA:
MOV *SP++,IER ; Save IER on stack
MOV IER,@VarA ; Load IER with contents of VarA