Answer to Question #287403 in Assembler for JUHGHJ

Question #287403

Create an array of 150 items of type Word, leave the all the values uninitialized.


1
Expert's answer
2022-01-15T09:19:02-0500
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS