?? 8051指令周期表.htm
字號:
2
1<BR>XRL A,direct
2 1<BR>ANL A,#data
2
1 <BR>XRL A,#data
2 1<BR>ANL direct,A
2
1 <BR>XRL direct,A
2 1<BR>ANL
direct,#data 3
2 <BR>XRL direct,#data
3 2<BR>ORL A,@Ri
1 1<BR>CLR A
1 1<BR>ORL A,Rn
1 1<BR>CPL A
1 1<BR>ORL A,direct
2
1 <BR>RL A
1 1<BR>ORL A,#data
2
1 <BR>RLC A
1 1<BR>ORL direct,A
2
1 <BR>RR A
1 1<BR>ORL
direct,#data 3
2 <BR>RRC A
1 1<BR>SWAP A
1 1<BR><BR>3.Data
transfer:<BR></SPAN></FONT></SPAN><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><FONT
color=#008000 size=2><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes">instruction
Byte Cyc</SPAN></FONT></SPAN><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes"><FONT
color=#008000 size=2><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><BR>MOV
A,@Ri
1 1 <BR>MOV
DPTR,#data16 3
2<BR>MOV A,Rn
1 1 <BR>MOVC
A,@A+DPTR 1
2<BR>MOV A,direct
2 1 <BR>MOVC A,@A+PC
1
2<BR>MOV A,#data
2 1 <BR>MOVX A,@Ri
1 2<BR>MOV @Ri,A
1 1<BR>MOVX A,@DPTR
1
2<BR>MOV @Ri,direct
2 2 <BR>MOVX @Ri,A
1 2<BR>MOV @Ri,#data
2 1 <BR>MOVX
@DPTR,A 1
2<BR>MOV Rn,A
1 1 <BR>PUSH direct
2
2<BR>MOV Rn,direct
2 2 <BR>POP
direct
2 2<BR>MOV Rn,#data
2
1 <BR>XCH A,@Ri
1 1<BR>MOV direct,A
2
1 <BR>XCH A,Rn
1 1<BR>MOV
direct,@Ri 2
2 <BR>XCH A,direct
2 1<BR>MOV direct,Rn
2 2 <BR>XCHD
A,@Ri
1 1<BR>MOV
direct,direct 3
2<BR>MOV direct,#data
3 2<BR><BR>4.Boolean variable
manipulation:<BR></SPAN></FONT></SPAN><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><FONT
color=#008000 size=2><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes">instruction
Byte Cyc</SPAN></FONT></SPAN><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes"><FONT
color=#008000 size=2><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><BR>CLR
C
1 1 <BR>ANL
C,bit
2 2<BR>SETB C
1 1 <BR>ANL
C,/bit
2 2<BR>CPL C
1 1 <BR>ORL
C,bit
2 2<BR>CLR bit
2 1 <BR>ORL
C,/bit
2 2<BR>SETB bit
2 1 <BR>MOV
C,bit
2 1<BR>CPL bit
2 1 <BR>MOV
bit,C
2 2<BR><BR>5.Program and machine
control:<BR></SPAN></FONT></SPAN><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><FONT
color=#008000 size=2><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes">instruction
Byte Cyc</SPAN></FONT></SPAN><SPAN
style="FONT-FAMILY: 宋體; mso-hansi-font-family: Times New Roman; mso-spacerun: yes"><FONT
color=#008000 size=2><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-hansi-font-family: 'Times New Roman'"><BR>NOP
1
1 <BR>JZ rel
2 2<BR>RET
1 2 <BR>JNZ rel
2 2<BR>RETI
1
2 <BR>JC rel
2 2<BR>ACALL addr11
2
2 <BR>JNC rel
2 2<BR>AJMP addr11
2
2 <BR>JB bit,rel
3 2<BR>LCALL addr16
3
2 <BR>JNB bit,rel
3 2<BR>LJMP addr16
3
2 <BR>JBC bit,rel 3
2<BR>SJMP rel
2 2 <BR>CJNE
A,direct,rel 3
2<BR>JMP @A+DPTR
1 2 <BR>CJNE
A,#data,rel 3
2<BR>DJNZ Rn,rel 2
2 <BR>CJNE @Ri,#data,rel
3 2<BR>DJNZ direct,rel 3
2 <BR>CJNE Rn,#data,rel 3
2<BR><BR></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 12px 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%; TEXT-ALIGN: left; mso-line-height-alt: 12.0pt; mso-pagination: widow-orphan"
align=left></P></DIV></TD></TR></TBODY></TABLE>
<CENTER>
<STYLE type=text/css>A {
FONT-SIZE: 9pt; COLOR: black; TEXT-DECORATION: none
}
A:hover {
COLOR: blue; text-decoration: none
}
P.f1 {
FONT-SIZE: 9pt
}
P.f2 {
FONT-SIZE: 12pt
}
P.f3 {
FONT-SIZE: 11pt
}
</STYLE>
<CENTER>
<TABLE id=Table1 style="FONT-SIZE: 9pt" width=825 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width="100%"><BR><B>樂源電子 版權所有
2000-2004</B></TD></TR>
<TR>
<TD vAlign=center align=middle
width="100%">域名:http://www.leyuandz.com</TD></TR>
<TR>
<TD vAlign=center align=middle
width="100%">E-Mail:Support@leyuandz.com</TD></TR>
<TR>
<TD vAlign=center align=middle width="100%">聯系人:鄭光緒</TD></TR>
<TR>
<TD vAlign=center align=middle
width="100%">QQ:80204640</TD></TR></TBODY></TABLE></CENTER></CENTER></DIV></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -