| Zakładka z wyszukiwarką danych komponentów |
|
45111 Arkusz danych(PDF) 132 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
45111 Arkusz danych(HTML) 132 Page - List of Unclassifed Manufacturers |
|
132 / 184 page ![]() 13 Appendix C: SX Instruction Set Page 132 • SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. IREAD Read instruction at MODE:W into MODE:W Command Words Cycles Affects Coding 1) IREAD 1 4 (16) MODE, W 0000 0100 0001 IREAD Operation: The instruction or value at the 12-bit location MODE:W is read and stored into the MODE:W bits. This instruction can be used to read values in tables created with the DW directive. Use the MODE and MOV instructions to read and write from the mode register. JB src_bit, addr9 Jump if src_bit is set Command Words Cycles Affects Coding 1) JB op.bit, addr9 2 2 or 4 (jump) (8 or 12) PC 0110 bbbf ffff SNB op.bit 101k kkkk kkkk JMP addr9 Operation: If src_bit is set, a jump to addr9 is executed. JC addr9 Jump if carry Command Words Cycles Affects Coding 1) JC addr9 2 2 or 4 (jump) (8 or 12) PC 0110 0000 0011 SNC 101k kkkk kkkk JMP addr9 Operation: If the carry flag is set, a jump to addr9 is executed. JMP dest Jump to dest Command Words Cycles Affects Coding 1) JMP addr9 1 3 (8) PC 101k kkkk kkkk JMP addr9 2) JMP W 1 3 (8) PC 0000 001f ffff JMP w 3) JMP PC+W 1 3 (8) PC, C, DC, Z 0001 111f ffff ADD PC, W Operation: Jump to address in dest. The lower 9 bits of the literal addr9 are moved into the program counter in command #1. W is moved into the program counter in command #2. W+1 is added to the program counter in command #3. Bit 9 of the program counter is cleared in command #2 and #3, so the jump destination will be in the first 256 words of any 512-word page. This instruction is useful for jumping into lookup tables comprised of RETW instructions, or jumping to particular routines. The flags are set as in an ADD instruction for command #3. If CARRYX is specified, c affects the result of command #3. Insert a CLC before command #3 to avoid strange results. |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |