资源描述:
《mcs-51指令系统常用符号及含义》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、MCS-51指令系统常用符号及含义addrll11位地址addrlG116位地址bit1内部RAM或专用寄存器中的直接寻址位rel1补码形式的8位地址偏移量direct1直接地址单元(RAM,SFR,I/O)#data1立即数Rn1当前寄存器区的8个通用工作寄存器R0〜R7(n=0〜7)Ri1当前寄存器E中可作间址寄存器的2个通用工作寄存器R0、R1(i=0、1)A1累加器B1专用寄存器,用于MUL和D1V指令屮。C1进位标志或进位位,或布尔处理机中的累加器。@1间接寻址方式中,表示间接寄存器的符号。/1位操作
2、数的前缀,表示对该位操作数先取反再参与操作,但不影响该操作数。(X)IX屮的内容。((X))1由X寻址的单元中的内容。<—1箭头左边的内容被箭头右边的内容所代替。A1逻辑“与”V1逻辑“或”㊉1逻辑“异或”表A-1数据传送类指令字节执行周十六进制代码指令助记符说明字节数执行周期数E8〜EFMOVA,Rn(A)—(Rn)11E5MOVA,direct(A)(direct)21E6,E7MOVA,@Ri(A)-((Ri))1174MOVA,#data.(A)*-data21F8〜FFMOVRn,A(Rn)-(A)1
3、1A8〜Ah'MOVRn,direct(Rn)(direct)2278〜7FMOVRn,ftdata(Rn)^-data21F5MOVdirect,A(direct)—(A)2188〜8FMOVdirect,Rn(direct)(Rn)2285MOVdirectl,direct2(directl)—(direct2)3286,87MOVdirect,@Ri(direct)…((Ri))2275MOVdirect,#data(direct)一data32E6,E7MOV@Ri,A((Ri))-(A)11A6,A7
4、MOV@Ri,direct((Ri))*-(direct)2276,77MOV@Ri,#data((Ri))—data2190MOVDPTR,#datal6(DPTR)-datal63293MOVCA,0A+DPTR(A)-((A)+(DPTR))1283MOVCA,@A+PC(A)-((A)+(PC))12E2,E3MOVXA,@Ri(A)<-((P2)+(Ri)12E0MOVXA,@DPTR(A)-((DPTR))12F2,F3MOVX@Ri,A((P2)+(Ri))-(A)12F0MOVX@DPTR,A(
5、(DPTR))-(A)12C0PUSHdirect(SP)—(SP)+1,((SP))—(direct)22DOPOPdirect(direct)-((SP)),(SP卜(SP)-122C8〜CFXCHA,Rn(A)-_*(Rn)11C5XCHA,direct(A)*(direct)21C6,C7XCHA,@Ri(A)―.((Ri))11D6,D7XCHDA,@Ki(A)»(Rn)3-o11十六进制代码指令助记符说明字节数执行周期数28〜2FADDA,Rn(A)-(A)+(Rn)1125ADDA,direct(
6、A)*-(A)+(direct)2126,27ADDA,@Ri(A)(A)+((Ri))1124ADDA,#data(A)〜(A)+data2138〜317ADDCA,Rn(A)-(A)+(Rn)+CY1135ADDCA,direct(A)(A)+(direct)+CY2136,37ADDCA,@Ri(A)一(A)+((Ri))+CY1134ADDCA,#data(A)(A)+data+CY2198〜9FSL'BBA,Rn(A)*-(A)-(Rn)-CY1195SUBBA,direct(A)(A)—(direc
7、t)—CY2196,97SUBBA,@Ri(A)-(A)-((Ri))-CY1194SUBBA,#data(A)—(A)-data-CY2104INCA(A)-(A)+11108〜0FINCRn(Rn)-(Rn)+11105INCdirect(direct)—(direct)+12106,07INC@Ri((Ri))-((Ri))+111A3INCDPTR(DPTR)—(DPTR)+11214DECA(A)-(A)-11118〜IFDECRn(Rn)(Rn)—11115DECdirect(direct)一(di
8、rect)—12116,17DEC@Ri((Ri))-((Ri))-111A4MULAB(B)(A)—(A)X(B)1484DIVABAB-(A)/(B)14D4DAA对A进行十进制调整指令11十六进制代码指令助记符说明字节数执行周期数58〜5FANLA,Rn(A)-(A)A(Rn)1155ANLA,direct(A)-(A)A(direct)2156,57ANLA,@Ri(A)-(A