CF PF ZF SF OF AL
mov si,offset DATA1 ? ? ? ? ? ??
mov di,offset DATA2 ? ? ? ? ? ??
mov bx,ANS ? ? ? ? ? ??
mov al,[si] ? ? ? ? ? FF
add al,[di] 1 1 1 0 0 00
mov [bx],al 1 1 1 0 0 00
mov al,[si+1] 1 1 1 0 0 FF
adc al,[di+1] 1 1 1 0 0 00
mov [bx+1],al 1 1 1 0 0 00
mov al,[si+2] 1 1 1 0 0 FF
adc al,[di+2] 1 1 1 0 0 00
mov [bx+2],al 1 1 1 0 0 00
mov al,[si+3] 1 1 1 0 0 EF
adc al,[di+3] 0 1 0 1 0 F0
mov [bx+3],al 0 1 0 1 0 F0
mov ax,4c00h
int 21h
DATA1 dd 0EFFFFFFFh
DATA2 dd 1
ANS dd ?
|