Create an array of 150 items of type Word, leave the all the values uninitialized.
DATA SEGMENT
array WORD 150 dup(?)
DATA ENDS
CODE SEGMENT
START:
MOV AX,DATA
MOV DS,AX
MOV ES,AX
exit:
MOV AH,1 ; Waiting for a key press
INT 21H
EXIT_PROG: ; Program is terminated
MOV AH,4CH
INT 21H
CODE ENDS
END START
Comments
Leave a comment