如何将下列汇编程序改为死循环,分别按规则字与非规则字的方式写入存储器
SSTACKSEGMENTSTACKDW32DUP(?)SSTACKENDSCODESEGMENTSTARTPROCFARASSUMECS:CODEMOVAX,8000H...
SSTACK SEGMENTSTACK
DW 32 DUP(?)
SSTACK ENDS
CODE SEGMENT
START PROCFAR
ASSUME CS:CODE
MOV AX,8000H
MOV DS,AX
AA0: MOV SI,0000H
MOV CX,0010H
MOV AX,0000H
AA1: MOV[SI],AX
INCAX
INCSI
INCSI
LOOPAA1
NOP
HERE: JMPHERE
START ENDP
CODE ENDS
ENDSTART 展开
DW 32 DUP(?)
SSTACK ENDS
CODE SEGMENT
START PROCFAR
ASSUME CS:CODE
MOV AX,8000H
MOV DS,AX
AA0: MOV SI,0000H
MOV CX,0010H
MOV AX,0000H
AA1: MOV[SI],AX
INCAX
INCSI
INCSI
LOOPAA1
NOP
HERE: JMPHERE
START ENDP
CODE ENDS
ENDSTART 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询