Write a program to add: (1+ 2 + 3 + … + 20), and store the result in BX register

前端 未结 0 1624
有刺的猬
有刺的猬 2020-12-01 04:49

mov ax, 1 mov cx, 20 xor bx, bx ; Label1: add bx, ax ; inc ax loop Label1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题