SX Users Manual Rev. 3.1
90
© 2000 Scenix Semiconductor, Inc. All rights reserved.
www.scenix.com
Chapter 3 Instruction Set
3.6.21    MOV !OPTION,W
Move W to OPTION Register
Operation:
OPTION = W
Bits affected:
none
Opcode:
0000 0000 0010
Description:
This instruction moves W to the OPTION register. W is left unchanged. The OP-
TION  register  sets  the  Real-Time  Clock/Counter  (RTCC)  configuration  options
such as RTCC interrupt enable, RTCC increment event control, and prescaler as-
signment. For information on the format of the OPTION register, see Section 2.4.9. 
Cycles:
1
Example:
mov
W,#$3F
;load W with 3Fh
mov
!OPTION,W    ;write value to OPTION register
This example moves programs the OPTION register with the value 3Fh.