单片机原理与接口技术 (24).pdf
《单片机原理与接口技术 (24).pdf》由会员分享,可在线阅读,更多相关《单片机原理与接口技术 (24).pdf(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、单片机原理与接口技术MCS-5129ADD4ADDC4SUBB4MUL()DIVINC1DEC110124241717MOV MOVA#datadirectRiRnA#dataA(direct)A(Ri)A(Rn)22111111Rn#datadirectARn#dataRn(direct)Rn(A)221121direct#dataAdirectRiRndirect#datadirect(A)direct(direct)direct(Ri)direct(Rn)3232221221Ri#datadirectA(Ri)#data(Ri)(direct)(Ri)(A)221121MOV ARn A
2、(Rn)n=07 MOV Adirect A(direct)MOV ARi A(Ri)i=01MOV A#data AdataMOV Rn,direct Rn(direct)MOV Ri,direct (Ri)(direct)MOV direct1direct2 direct1(direct2)MOV DPTR#data16 DPTRdata161161A=30H(4FH)=30HR0=20H(20H)=30H(21H)=30HMOV A#30H MOV 4FHA MOV R0#20H MOV R04FH MOV 21H20H RAM 60HA2MOV A,60HMOV A,#60HMOV R
3、0#60H MOV AR0MOV R060HMOV AR060H32H32H58H1.MOV R1R2MOV R2R02.R0R1MOV AR23.SFRMOV R0#80HMOV AR0MOV#80HR2(2000H)(2100H)AMOVX DPTR1664KBRAMMOVX ADPTRA(DPTR)MOVX DPTRA(DPTR)(A)Ri8256BRAMMOVXARiA(Ri)MOVXRiA(Ri)(A)MOVX A2000H MOVX 2100H2000HDPTR=2000HA=XDPTR=2100H(2100H)=XMOV DPTR#2000HMOVX ADPTRMOV DPTR#
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机原理与接口技术 24 单片机 原理 接口 技术 24
限制150内