代码

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.

 

 

相关文章:

  • 2021-10-25
  • 2022-02-02
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
猜你喜欢
  • 2021-09-29
  • 2021-10-13
  • 2021-11-10
  • 2021-12-10
  • 2021-09-24
相关资源
相似解决方案