汇编网首页登录博客注册
zhenglxd的学习博客
博客首页博客互动【做检测题】论坛求助

我的博客

个人首页 |  我的文章 |  我的相册 |  我的好友 |  最新访客 |  文章收藏 |  论坛提问 |  友情链接 |  给我留言  
图片载入中
  •  浮躁10次=fool 浮躁20次=fathead 浮躁30次=stupid 浮躁40次=pig
  • 『姓名』:small liu
  • 『性别』:男『发送消息
  • 个人说明:我现在浮躁 指数4
  • 详细信息『加为好友』
学习动态
友情链接

[2009-06-08 16:54] 检测点 14.1~ 14.2

检测点14.1
(1)编程 ,读取CMOS RAM 2号单元内容
(2)编程,像CMOS 2号单元写入0

assume cs:code

code segment

start:mov al,2
      out 70H,al
      in al,71h

      mov ax,4c00H
      int 21h


code ends

end start  

(2)assume cs:code

code segment

start:mov al,2
      out 70H,al
      out 71H,0
 
      mov ax,4c00H
      int 21h


code ends

end start

14.2 用加法和移位指令计算ax=ax*10
assume cs:code

code segment

start:mov ax,1
      mov bx,ax
      shl bx,1
      mov cl,3
      shl ax,cl
      add ax,bx
     


      mov ax,4c00H
      int 21H


code ends

end start
评论次数(2)  |  浏览次数(1401)  |  类型(汇编作业) |  收藏此文  | 

[  crazyman   发表于  2009-06-08 17:56  ]

没问题,加油。

[  游客   发表于  2009-06-08 18:12  ]

有截图看着更明确

 
 请输入验证码  (提示:点击验证码输入框,以获取验证码