. : : Assembly Language : : .  |  首页  |  我提出的问题  |  我参与的问题  |  我的收藏  |  消息中心   |  游客  登录  | 
刷新 | 提问 | 未解决 | 已解决 | 精华区 | 搜索 |
  《汇编语言》论坛 ->转移指令的原理
  管理员: assembly   [回复本贴] [收藏本贴] [管理本贴] [关闭窗口]
主题 : :  实验9,为什么这样写输不出来?  [待解决] 回复[ 0次 ]   点击[ 357次 ]  
lantian510
[帖 主]   [ 发表时间:2013-05-24 15:26 ]   [引用]   [回复]   [ top ] 
荣誉值:0
信誉值:0
注册日期:2013-04-18 10:09
assume cs:codesg
codesg segment
    start:mov ax,0b800h
             mov ds,ax
             mov bx,0

            mov  byte ptr [bx],27h
             mov byte ptr[bx+2],57h
               mov byte ptr[bx+4],65h
              mov byte ptr[bx+6],6ch
              mov byte ptr[bx+6],63h
               mov byte ptr[bx+8],6fh
              mov byte ptr[bx+10],6dh
               mov byte ptr[bx+12],65h
               mov byte ptr[bx+14],20h
               mov byte ptr[bx+16],74h
               mov  byte ptr[bx+18],6fh
                mov byte ptr[bx+20],20h
                 mov byte ptr[bx+22],6dh
                 mov byte ptr[bx+24],61h
                 mov byte ptr[bx+26],73h
                 mov byte ptr[bx+28],6dh
                 mov byte ptr[bx+30],27h
                 mov bx,0
                 mov si,1
                 mov cx,16
             s0:mov byte ptr[bx+si],00000010b
                  add si,2
                  loop s0

               mov ax,4c00h
             int 21h
codesg ends
end start
需要登录后才能回帖 -->> 请单击此处登录
    Copyright © 2006-2024   ASMEDU.NET  All Rights Reserved