汇编程序14:检测点6.1(一)

 1 assume cs:code
 2 
 3 code segment
 4 
 5     dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987h
 6     start:
 7           mov ax,0
 8           mov ds,ax
 9           mov bx,0
10           mov cx,8
11         s:
12           mov ax,[bx]
13           mov cs:[bx],ax
14           add bx,2
15           loop s
16 
17           mov ax,4c00h
18           int 21h
19 
20 code ends
21 
22 end start

 

posted on 2018-01-27 14:14  叶倾仙  阅读(154)  评论(0编辑  收藏  举报

导航