| データシートサーチシステム |
|
SN8A1702AX データシート(PDF) 33 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8A1702AX データシート(HTML) 33 Page - SONiX Technology Company |
|
33 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 33 Revision 0.5 ONE ADDRESS SKIPPING There are 9 instructions (CMPRS, INCS, INCMS, DECS, DECMS, BTS0, BTS1, B0BTS0, B0BTS1) with one address skipping function. If the result of these instructions is matched, the PC will add 2 steps to skip next instruction. If the condition of bit test instruction is matched, the PC will add 2 steps to skip next instruction. B0BTS1 FC ; Skip next instruction, if Carry flag = 1 JMP C0STEP ; Else jump to C0STEP. . C0STEP: NOP B0MOV A, BUF0 ; Move BUF0 value to ACC. B0BTS0 FZ ; Skip next instruction, if Zero flag = 0. JMP C1STEP ; Else jump to C1STEP. . C1STEP: NOP If the ACC is equal to the immediate data or memory, the PC will add 2 steps to skip next instruction. CMPRS A, #12H ; Skip next instruction, if ACC = 12H. JMP C0STEP ; Else jump to C0STEP. . C0STEP: NOP If the result after increasing or decreasing by 1 is 0xFF or 0x00, the PC will add 2 steps to skip next instruction. INCS instruction: INCS BUF0 JMP C0STEP ; Jump to C0STEP if ACC is not zero. … C0STEP: NOP INCMS instruction: INCMS BUF0 JMP C0STEP ; Jump to C0STEP if BUF0 is not zero. … C0STEP: NOP DECS instruction: DECS BUF0 JMP C0STEP ; Jump to C0STEP if ACC is not zero. … C0STEP: NOP DECMS instruction: DECMS BUF0 JMP C0STEP ; Jump to C0STEP if BUF0 is not zero. … C0STEP: NOP |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |