全文预览

五子棋 汇编

上传者:upcfxx |  格式:doc  |  页数:26 |  大小:25KB

文档介绍
DM4:?CMP[I],AX;画行?JBEDM12?JMPNEARPTRDM7DM12:?PUSHAX?GETX[I],[X]?MOV[J],1?GETY[J],[Y]?MOVAX,[ColMax]?MOV[J],AX?GETY[J],[Y2]?MOVBX,[Y2]DM5:?CMP[Y],BX;画一行?JADM6?PUSHBX?MOVBX,0?MOVAL,[BLACK]?MOVDX,[X]?MOVCX,[Y]?MOVAH,0CH?INT10H?INC[Y]?POPBX?JMPDM5DM6:?INC[I]?POPAX?JMPDM4DM7:?MOVAX,[RowMax]?MOVBX,[ColMax]?MOV[J],1DM8:?CMP[J],BX;画列?JBEDM13?JMPNEARPTRDM11DM13:?PUSHBX?GETY[J],[Y]?MOV[I],1?GETX[I],[X]?MOVBX,[RowMax]?MOV[I],BX?GETX[I],[X2]?MOVAX,[X2]DM9:?CMP[X],AX?JADM10?PUSHAX?MOVBX,0?MOVAL,[BLACK]?MOVDX,[X]?MOVCX,[Y]?MOVAH,0CH?INT10H?INC[X]?POPAX?JMPDM9DM10:?INC[J]?POPBX?JMPDM8DM11:?MOVAX,DS;?显示左右信息栏信息?MOVES,AX?MOVAH,13H?MOVAL,01H?MOVBH,0?MOVBL,0FH?MOVCX,0?MOVCL,[InfoLen]?MOVDL,[P2InfoCol]?MOVDH,[InfoNameRow]?CMP[GameMode],1?JNZDM17?MOVBP,OFFSETP2Name?JMPDM18DM17:?MOVBP,OFFSETWhiteNameDM18:?INT10H

收藏

分享

举报
下载此文档