代码
assume cs:code
code segment
dw 0123h,0456h,0789h,0abch, 0defh,0321h,0654h,0987h
start:
mov ax,0
mov bx,0
mov cx,8
s: add ax,cs:[bx]
add bx,2
loop s
mov ax,4300h
int 21h
code ends
end start
dw: 定义一个字 2 Bytes.