SX Users Manual Rev. 3.1
62
© 2000 Scenix Semiconductor, Inc. All rights reserved.
www.scenix.com
Chapter 3 Instruction Set
MOV W,<<fr
Rotate fr Left
through Carry and
Move to W
1
1
0011 010f ffff
C
MOV W,>>fr
Rotate fr Right
through Carry and
Move to W
1
1
0011 000f ffff
C
MOV W,<>fr
Swap High/Low
Nibbles of fr and
move to W
1
1
0011 100f ffff
none
MOV W,M
Move MODE Reg-
ister to W
1
1
0000 0100 0010
none
MOVSZ W,--fr
Move (fr-1) to W
and Skip if Zero
1 or
2 (skip)
1
2 (skip)
0010 110f ffff
none
MOVSZ W,++fr
Move (fr+1) to W
and Skip if Zero
1 or
2 (skip)
1
2 (skip)
0011 110f ffff
none
MOV M,W
Move W to MODE
Register
1
1
0000 0100 0011
none
MOV M,#lit
Move Literal to
MODE Register
1
1
0000 0101 kkkk
none
MOV !rx,W
Move W to Port Rx
Control Register
1
1
0000 0000 ffff
none
MOV !OPTION, W
Move W to
OPTION Register
1
1
0000 0000 0010
none
TEST fr
Test fr for Zero
1
1
0010 001f ffff
Z
Table 3-4 Data Movement Instructions (Sheet 2 of 2)
Syntax
Description
Cycles
Opcode
Bits
Comp.
Turbo