OR IER,#16bit
6-260
OR IER,#16bit Bitwise OR
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
OR IER,#16bit 0111 0110 0010 0011
CCCC CCCC CCCC CCCC
X − 2
Operands IER Interrupt enable register
#16bit-
Mask
16-bit immediate constant value
Description Enable specific interrupts by performing a bitwise OR operation with the IER
register and the 16-bit immediate value. The result is stored in the IER
register:
IER = IER OR #16bit;
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
; Enable INT1 and INT6 only. Do not modify state of other
; interrupt’s enable:
OR IER,#0x0061 ; Enable INT1 and INT6