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

我的博客

个人首页 |  我的文章 |  我的相册 |  我的好友 |  最新访客 |  文章收藏 |  论坛提问 |  友情链接 |  给我留言  
图片载入中
学习动态
最新留言
好友圈
文章收藏
友情链接

[2011-11-30 13:20] 第十六章检测点

检测点16.1
assume cs:code
  code segment       
        a dw 1,2,3,4,5,6,7,8
        b dd 0


start:  
        mov si,0
        mov cx,8
s:      mov ax,a[si]
        add word ptr b[0],ax
        adc word ptr b[2],0
        add si,2
        loop s

        mov ax,4c00h
        int 21h
...
阅读全文 | 评论次数(1) | 浏览次数(513) | 所属类型(汇编作业)

[2011-11-30 12:54] 实验16

assume cs:code
stack segment
db 128 dup(0)
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov ax,cs
mov ds,ax
mov ax,0
mov es,ax
mov si,offset screen
mov di,200h
mov cx,offset screenend - screen

cld
rep movsb

mov word ptr es:[7ch*4],200h
mov word ptr es:[7ch*4+2],0
mov ...
阅读全文 | 评论次数(3) | 浏览次数(533) | 所属类型(汇编作业)

[2011-11-27 16:25] 实验14

assume cs:code
code segment
time:db 9,8,7,4,2,0
format: db "  /  /     :  :  ",'$'
start:
mov ax,cs
mov ds,ax
mov si,offset time
mov bx,offset format
mov cx,6

s: push cx
mov al,ds:[si]
out 70h,al
in al,71h

mov ah,al
mov cl,4
shr ah,cl
and al,00001111b

add ah,30h
add al,30h
...
阅读全文 | 评论次数(1) | 浏览次数(487) | 所属类型(汇编作业)

[2011-11-25 11:51] 实验12

assume cs:code
code segment

start: mov ax,cs
       mov ds,ax
       mov ax,0h
       mov es,ax
       mov di,0200h
       mov si, offset do0
       mov cx,offset do0end-offset do0
        cld
       rep movsb
  
mov word ptr es:[0],0200h                              
mov word ptr es:...
阅读全文 | 评论次数(1) | 浏览次数(433) | 所属类型(汇编作业)

[2011-11-24 20:09] 实验11

assume  cs:code
data segment
db "Beginner's All-purpose Symbolic Instruction Code.",0 
data ends


code segment
begin:mov ax,data
      mov ds,ax
      mov si,0
     
                      
    
   s1:  mov al,[si]
        cmp al,0
        jne s
        mov ax,4c00h
        int 21h ...
阅读全文 | 评论次数(3) | 浏览次数(469) | 所属类型(汇编作业)