英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流

 找回密码
 立即注册
搜索
电子烟方案单片机单片机开发深圳单片机开发
单片机方案国产单片机8位单片机电子烟方案开发
查看: 3836|回复: 0
打印 上一主题 下一主题

指令列表

[复制链接]
跳转到指定楼层
1#
发表于 2009-3-24 17:40:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

Processor Core
助记符操作12-Bit14-Bit16-Bit16-Bit+
ADDLW(W) + k --> (W)--------C DC ZOV C DC ZN OV C DC Z
ADDWF(W) + (f) --> (dest)C DC ZC DC ZOV C DC ZN OV C DC Z
ADDWFC(W) + (f) + C --> (dest)----------------OV C DC ZN OV C DC Z
ANDLW(W) AND k --> (W)ZZZN Z
ANDWF(W) AND (f) --> (dest)ZZZN Z
BCif C = 1, (PC) + 2 + 2n --> (PC)------------------------NONE
BCF0 --> (f)NONENONENONENONE
BNif N = 1, (PC) + 2 + 2n --> (PC)------------------------NONE
BNCif C = 0, (PC) + 2 + 2n --> (PC)------------------------NONE
BNNif N = 0, (PC) + 2 + 2n --> (PC)------------------------NONE
BNOVif OV = 0, (PC) + 2 + 2n --> (PC)------------------------NONE
BNZif Z = 0, (PC) + 2 + 2n --> (PC)------------------------NONE
BRA(PC) + 2 + 2n --> (PC)------------------------NONE
BSF1 --> (f)NONENONENONENONE
BTFSCskip if (f) = 0NONENONENONENONE
BTFSSskip if (f) = 1NONENONENONENONE
BTG!(f) --> (f)----------------NONENONE
BOVif OV = 1, (PC) + 2 + 2n --> (PC)------------------------NONE
BZif Z = 1, (PC) + 2 + 2n --> (PC)------------------------NONE
CALLCall Subroutine (operation is device specific)NONENONENONENONE
CLRF0x00 --> (f)ZZNONEZ
CLRW0x00 --> (W)ZZ----------------
CLRWDT0x00 --> WDTTO PDTO PDTO PDTO PD
COMF!(f) --> (dest)ZZZN Z
CPFSEQ(f) - (W), skip if (f) = (W)----------------NONENONE
CPFSGT(f) - (W), skip if (f) > (W)----------------NONENONE
CPFSLT(f) - (W), skip if (f) < (W)----------------NONENONE
DAWDecimal Adjust W----------------CC
DECF(f) - 1 --> (dest)ZZOV C DC ZN OV C DC Z
DECFSZ(f) - 1 --> (dest) skip if 0NONENONENONENONE
DCFSNZ(f) - 1 --> (dest) skip if not 0----------------NONENONE
GOTOUnconditional Branch (Operand is device specific)NONENONENONENONE
INCF(f) + 1--> (dest)ZZOV C DC ZN OV C DC Z
INCFSZ(f) + 1--> (dest) skip if 0NONENONENONENONE
INFSNZ(f) + 1 --> (dest) skip if not 0----------------NONENONE
IORLW(W) OR k --> (W)ZZZN Z
IORWF(W) OR (f) --> (dest)ZZZN Z
LFSRk --> FSRf------------------------NONE
LCALLLong Call Subroutine (operation is device specific)----------------NONE--------
MOVF(f) (dest)ZZ--------N Z
MOVFF(fs) --> (fd)------------------------NONE
MOVFP(f) --> (p)----------------NONE--------
MOVLBk --> (BSR<3:0>)----------------NONENONE
MOVLRk --> (BSR<7:4>)----------------NONE--------
MOVLWk --> (W)NONENONENONENONE
MOVPF(p) --> (f)----------------Z--------
MOVWF(W) --> (f)NONENONENONENONE
MULLW(W) x k --> (PRODHRODL)----------------NONENONE
MULWF(W) x (f) --> (PRODHRODL)----------------NONENONE
NEGW!(W) + 1 --> (f); !(W) + 1 --> s----------------OV C DC Z--------
NEGF!(f) + 1 --> (f)------------------------N OV C DC Z
NOPNo operationNONENONENONENONE
OPTION(W) --> OPTIONNONENONE----------------
POP(TOS) --> bit bucket------------------------NONE
PUSH(PC+2) --> TOS------------------------NONE
RCALL(PC) + 2 --> TOS, (PC) + 2 + 2n --> (PC)------------------------NONE
RESETReset all registers and flags that are affected by a MCLR reset.------------------------All
RETFIEReturn from Interrupt (operation is device specific)--------NONEGLINTDGIE/GIEH PEIE/GIEL
RETLWk --> (W, ) TOS --> PCNONENONENONENONE
RETURNReturn from Subroutine (operation is device specific)--------NONENONENONE
RLCF/RLF(f) --> (d); (f<7>) --> C; C --> (d<0>)C (RLF)C (RLF)C (RLCF)N C Z (RRCF)
RLNCF(f) --> (d); (f<7>) --> (d<0>);----------------NONEN Z
RRCF/RRF(f) --> (d); (f<0>) --> C; C --> (d<7>)C (RRF)C (RRF)C (RRCF)N C Z (RRCF)
RRNCF(f) --> (d); (f<0>) --> (d<7>);----------------NONEN Z
SETF0xFF --> (f)----------------NONENONE
SLEEPEnter SLEEP ModeTO PD GPWUFTO PDTO PDTO PD
SUBFWB(W) - (f) - !C --> (dest)------------------------N OV C DC Z
SUBLWk - (W) --> (W)--------C DC ZOV C DC ZN OV C DC Z
SUBWF(f) - (W) --> (dest)C DC ZC DC ZOV C DC ZN OV C DC Z
SUBWFB(f) - (W) - !C --> (dest)----------------OV C DC ZN OV C DC Z
SWAPF(f<3:0>) --> (dest<7:4>); (f<7:4>) --> (dest<3:0>)NONENONENONENONE
TABLRDTable Read [17C] (operation is device specific)----------------NONE--------
TABLWTTable Write [17C] (operation is device specific)----------------NONE--------
TBLRDTable Read [18C] (operation is device specific)------------------------NONE
TBLWTTable Write [18C] (operation is device specific)------------------------NONE
TLRDTable Latch Read [17C] (operation is device specific)----------------NONE--------
TLWTTable Latch Read [17C] (operation is device specific)----------------NONE--------
TRIS(W) --> TRIS Register fNONENONE----------------
TSTFSZskip if (f) = 0----------------NONENONE
XORLW(W) XOR k --> (W)ZZZN Z
XORWF(W) XOR (f) --> (dest)ZZZN Z
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|公司首页|Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流 ( 粤ICP备09008620号 )

GMT+8, 2024-12-26 09:30 , Processed in 0.070898 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表