实验5.6
assume cs:codea segment
dw 1,2,3,4,5,6,7,8,9,0ah,0bh,0ch,0dh,0eh,0fh,0ffh
a ends
b segment
dw 0,0,0,0,0,0,0,0
b ends
code segment
start: mov ax,a
mov ds,ax
mov bx,0
mov ax,b
mov ss,ax
mov sp,16
mov cx,8
s: push
add bx,2
loop s
mov ax,4c00h
int 21h
code ends
end start
本帖最后由 ufo9876 于 2016-1-9 09:56 编辑
哦哟~?不错哟 赞,我认为最有效率的答案 把DW看成DB了,晕
页:
[1]