DO IN MASM 8086 DOSBOX 16 BITS AND DONT COPY FROM CHATGPT OR FROM OTHER CHEGG ANSWERS
structure for MASM
.MODEL SMALL
.STACK 100H
.DATA
.CODE
Question no. 5
Write an assembly language program that takes 2 arrays of size n (size should be declared
generically in .data) and add all the entries in such a way that 1st index of one array adds to the last
index of the second array, 2nd index of the array adds to the second last index of the other array,
and so on. Save the added numbers in a third array. (10)
give complete code without errors
Question no. 5
Write an assembly language program that takes 2 arrays of size n (size should be declared generically in .data) and add all the entries in such a way that 1st index of one array adds to the last index of the second array, 2nd index of the array adds to the second last index of the other array, and so on. Save the added numbers in a third array. (10)