参数资料
型号: SN8P1703A
厂商: SONIX Technology Co., Ltd.
英文描述: 8-Bit Micro-Controller
中文描述: 8位微控制器
文件页数: 33/112页
文件大小: 634K
代理商: SN8P1703A
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
相关PDF资料
PDF描述
SN8P1703AP 8-Bit Micro-Controller
SN8P1703AS 8-Bit Micro-Controller
SN8P1703AX 8-Bit Micro-Controller
SN8P1703A-12 8-Bit Micro-Controller
SN8P1800 8-Bit Micro-Controller
相关代理商/技术参数
参数描述
SN8P1703A-12 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1703AP 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1703AS 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1703AX 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1704 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller