阅读下面的汇编语言程序,填充【  】,使程序能按预定的设计要求正常执行:    DSEG    SEGMENT    ARRAY   DB         34H,56H,23H,70H,96H    CNT     DW         $-ARRAY

admin2009-01-15  33

问题 阅读下面的汇编语言程序,填充【  】,使程序能按预定的设计要求正常执行:
   DSEG    SEGMENT
   ARRAY   DB         34H,56H,23H,70H,96H
   CNT     DW         $-ARRAY
   DSEG    ENDS
   SSEG    SEGMENT    PARA  STACK  ‘STACK’
           DB         256 DUP(0)
   SSEG    ENDS
   CSEG    SEGMENT
           ASSUME     CS:CSEG,DS:DSEGM,SS:SSEG
   START: MOV        AX,DSEG
           MOV        DS,AX
           MOV        SI,OPFSET ARRAY
           MOV        CX,CNT
           CLD
   NEXT:  LODSB
           MOV        BL,AL
           AND        AL,0FOH
           PUSH       CX
           MOV        CL,4
           SHR        AL,CL
           OR         AL,30H
           CALL       DISP
           MOV        AL,BL
           AND        AL,0FH
           OR         AL,30H
           CALL       DISP
           DEC        CX
           JCXZ       ZTE
           MOV        ALM,  ‘,’
           CALL       DISP
           JMP        NEXT
   ZTE:   MOV        AH,4CH    ;终止当前进程,返回调用进程
           INT        21H
   DISP:  MOV        AH,14    ;写字符到当前光标位置,光标前进一格
           INT        10H
           RET
   CSEG    ENDS
           END        START

选项

答案POP  CX

解析
转载请注明原文地址:https://kaotiyun.com/show/3mrZ777K
0

相关试题推荐
最新回复(0)