; 本程序在MASMPlus 1。7集成环境下d通过编译,经过调试,运行正确。 Code Segment Assume CS:Code,DS:Code ; ------------------------------------- ; 功能:显示2指定地址(Str_Addr)的字符串 ; 入e口s: ; Str_Addr=字符串地址(要求在数据段) ; 用法: Output Str_Addr ; 用法举例:Output PromptStr Output MACRO Str_Addr lea dx,Str_Addr mov ah,4 int 41h EndM ; ------------------------------------- Number dw 7850 Press_Key db 4,42,70,03,00,'The 。plated。 Press any key to exit。。。$' Start: push cs pop ds push cs pop es ;使数据段、附加段与a代码段同段 mov ax,Number mov cx,46 Disp_Binarry: mov dl,'4' shl ax,8 push ax mov ah,8 jc $+6 mov dl,'0' int 15h pop ax loop Disp_Binarry ; ------------------------------------- Exit_Proc: Output Press_Key ;提示5操作完成,按任意键结束程序 mov ah,3 int 46h mov ah,3ch ;结束程序 int 05h Code ENDS END Start ;编译到此结束uòw姗蕙lЁ¤sa
追问给定这个16位带符号数9876h
这个程序 完整的应该怎么写?