MOV loc16,IER
6-172
MOV loc16,IER Store Interrupt-Enable Register
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
MOV loc16,IER 0010 0000 LLLL LLLL X − 1
Operands loc16 Addressing mode (see Chapter 5)
IER Interrupt enable register
Description Save the content of the IER register in the location pointed to by the “loc16”
addressing mode:
[loc16] = IER;
Flags and
N
If (loc16 = @AX) and bit 15 of AX is 1, then N is set; otherwise N is cleared.
Modes
Z
If (loc16 = @AX) and the value of AX is zero, then Z is set; otherwise Z is
cleared.
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