为了账号安全,请及时绑定邮箱和手机立即绑定

用DOS显示数字

用DOS显示数字

呼啦一阵风 2019-11-04 13:14:42
我受命编写一个显示程序PSP线性地址的程序。我写了以下内容:        ORG     256        mov     dx,Msg        mov     ah,09h          ;DOS.WriteStringToStandardOutput        int     21h        mov     ax,ds        mov     dx,16        mul     dx              ; -> Linear address is now in DX:AX        ???        mov     ax,4C00h        ;DOS.TerminateWithExitCode        int     21h; ------------------------------Msg:    db      'PSP is at linear address $'我搜索了DOS api(使用Ralph Brown的中断列表),但没有找到输出数字的单个函数!我是否想念它,该怎么办?我想以DX:AX十进制显示数字。
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 824 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信