全文预览

微机原理课设 电子琴8253 8255

上传者:菩提 |  格式:doc  |  页数:10 |  大小:122KB

文档介绍
al?nop?nop?andal,0fh?jnzkey2?incbl?loopkey1?jmpnkeykey2: testal,01h jekey3 moval,00h jmpkey6key3: testal,02h jekey4 moval,08h jmpkey6key4: testal,04h jekey5 moval,10h jmpkey6key5: testal,08h jenkey moval,18hkey6: addal,bl?cmpal,10h?jncfkey?movbl,al?movbh,0hmovsi,offsetdata2?moval,[bx+si]?retnkey: moval,20hfkey: retdata2: db07h,04h,08h,05h,09h,06h,0ah,0bh DB01h,00h,02h,0fh,03h,0eh,0ch,0dhDISP:?MOVAL,0FFH ;00H?MOVDX,PA?OUTDX,AL?MOVCL,0DFH ;20H;显示子程序,5ms?MOVBX,OFFSETBUFDIS1:?MOVAL,[BX]MOVAH,00H?PUSHBX?MOVBX,OFFSETDATA1ADDBX,AXMOVAL,[BX]?POPBX?MOVDX,PB?OUTDX,AL?MOVAL,CL?MOVDX,PA?OUTDX,AL?PUSHCXDIS2: MOVCX,0a0HLOOP$POPCX?CMPCL,0FEH?JZLX1?INCBX?RORCL,1?JMPDIS1LX1:?MOVAL,0FFH MOVDX,PB OUTDX,AL RETBUF1:?MOVBUF,11H?MOVBUF+1,10H?MOVBUF+2,10H?MOVBUF+3,10H?MOVBUF+4,10H?MOVBUF+5,10H?RETCODEENDSENDSTART

收藏

分享

举报
下载此文档