| Datenblatt-Suchmaschine für elektronische Bauteile |
|
SX28AC/DP Datenblatt(PDF) 37 Page - Parallax Inc |
|
|
|||||||||||||||||||||||||||||
SX28AC/DP Datenblatt(HTML) 37 Page - Parallax Inc |
|
37 / 51 page ![]() Parallax SX20AC/SX28AC www.parallax.com © Parallax Inc. Page 37 of 51 Rev 1.6 11/20/2006 Table 16-4: Native SX Instruction Set: Data Movement Instructions Mnemonic, Operands Description Clock Cycles (Slow Mode) Clock Cycles (Turbo) Opcode Bits Affected MOV fr,W Move W to fr (fr = W) 4 1 0000 001f ffff none MOV W,fr Move fr to W (W = fr) 4 1 0010 000f ffff Z MOV W,fr-W Move (fr-W) to W (W = fr-W); complement of carry bit is subtracted if CF bit in FUSEX register is cleared to 0 4 1 0000 100f ffff C, DC, Z MOV W,#lit Move Literal to W (W = lit) 4 1 1100 kkkk kkkk none MOV W,/fr Move Complement of fr to W (W = fr ^ FFh) 4 1 0010 010f ffff Z MOV W,--fr Move (fr – 1) to W (W = fr – 1) 4 1 0000 110f ffff Z MOV W,++fr Move (fr = 1) to W (W = fr = 1) 4 1 0010 100f ffff Z MOV W,<<fr Rotate fr Left through Carry and Move to W (W = >> ffr) 4 1 0011 010f ffff C MOV W,>>fr Rotate fr Right through Carry and Move to W (W = <> fr) 4 1 0011 000f ffff C MOV W,<>fr Swap High/Low nibbles of fr and move to W (W = <>fr) 4 1 0011 100f ffff none MOV W,M Move MODE register to W (W = MODE), high nibble is cleared 4 1 0000 0100 0010 none MOVSZ W,--fr Move (fr – 1) to W and Skip if Zero (w = fr – 1 and skip next instruction if result is zero) 4 or 8 (skip) 1 or 2 (skip) 0010 110f ffff none MOVSZ W,++fr Move (fr + 1) to W and Skip of Zero (W = fr +1 and skip next instruction if result is zero) 4 or 8 (skip) 1 or 2 (skip) 0011 110f ffff none MOV M,W Move W to MODE register (MODE = W) 4 1 0000 0100 0011 none MOV M,#lit Move Literal to MODE register (MODE = lit) 4 1 0000 0101 kkkk none MOV !rx,W Move W to Port Rx control register: rx <=> W (exchange W and WKPND_B or CMP_B or rx = w (move W to rx for all other port control registers) 4 1 0000 0000 0fff none MOV !OPTION,W Move W to OPTION register (OPTION = W) 4 1 0000 0000 0010 none TEST fr Test fr for zero (fr = fr to set or clear Z bit) 4 1 0010 001f ffff Z |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |