SX User’s Manual Rev. 3.1 102 © 2000 Scenix Semiconductor, Inc. All rights reserved. www.scenix.com Chapter 3 Instruction Set 3.6.32    MOV W,M Move MODE Register to W Operation: W = MODE Bits affected: none Opcode: 0000 0100 0010 Description: This instruction moves the contents of the MODE register into W. The MODE reg-
ister is left unchanged. The MODE register operates as a pointer to the device port
registers for subsequent accesses to those registers using the “MOV !rx,W” instruc-
tion.
Cycles: 1 Example: mov W,M ;get MODE register contents mov $10,W ;save value to file register 10h This example moves the contents of the MODE register into W, and then stores that
value into file register 10h.