Answer to Question #287402 in Assembler for ASERTG

Question #287402


WRITE A PROGRAM ON EMU 8086

Create an array of 50 items of type Byte, assign value 50 to all of the Bytesin memory using Dup.


1
Expert's answer
2022-01-13T16:11:47-0500
DATA SEGMENT
Bytesim        50 BYTE    dup(50)
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