English
Language : 

45111 Datasheet, PDF (134/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
13 Appendix C: SX Instruction Set
MODE src
Set Mode to src
Command
1) MODE literal
Words
1
Cycles
1 (4)
Affects
M
Coding
0000 0101 kkkk MOV M, #lit
Operation: The lower 4 bits of src are moved into the Mode register. This command is the same as MOV M, #literal.
Use this command to initiate mode changes for port configuration commands. Since the SX48/52 requires
a 5-bit Mode register, use MOV W, #lit followed by MOV M, W to affect all 5 bits.
Page 134 • SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc.