以下程序希望12个字节数求和?请问程序哪里出现问题?
--- DATA DB 12,13,14,15,16,7 DUP(7AH);
---
LEA BX,DATA
MOV CX,12
CLC
MOV AX,[BX]
NEXT:INC BX
ADC AX,[BX]
LOOP NEXT
; ;This Program Compiled Sucess by Masm 6.15 ; assume cs:code,ds:data data segment db 12,13,14,15,16,7 dup (7ah) data ends code segment start: mov ax,data mov ds,ax mov bx,0 mov cx,12 xor ax,ax s: add al,[bx] adc ah,0 ;个人觉得还是加上此句。 inc bx loop s mov ah,4ch int 21h code ends end start