8086 ASSEMBLY LEVEL PROGRAM TO ADD 10 NUMBERS FROM EVEN MEMORY LOCATION


;;LAB3
CODE SEGMENT
ASSUME CS:CODE
START:
MOV BX,1B1BH           
MOV ES,BX
MOV SI,0000H         
MOV CX,10             
MOV AX,0000
UP:
ADD AL,[SI]
INC SI
LOOP UP

MOV ES:[2020H],AL

INT 3H
CODE ENDS
END START
END



Comments