這是我自己寫的...但是他一直說有錯...我也不會改阿~Q~
拜託~幫個忙吧~小弟萬分感謝~
語法:
include Irvine32.inc
.data
x1 QWORD 0A02B000190008400h
x2 QWORD 800187008000A904h
sum BYTE 9 DUP(?)
.code
main PROC
mov esi,offset sum
mov AL,0
mov BL,0
mov CX,9
mov DL,0
mov AH,0
mov BH,0
mov ebp,1
mov edi,0
L1:
mov AL,BYTE PTR [x1+edi]
mov BL,BYTE PTR [x2+edi]
mov DL,AL
ADD DL,BL
ADC BH,0
add [esi+edi],DL
inc edi
inc ebp
CLC
loop L1
call DumpMem
call DumpRegs
exit
main ENDP
END main