SX Users Manual Rev. 3.1
© 2000 Scenix Semiconductor, Inc. All rights reserved.
Chapter 3 Instruction Set
3.6.32 MOV W,M
Move MODE Register to W
W = MODE
0000 0100 0010
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-
;get MODE register contents
;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.