Home / Expert Answers / Computer Science / q1-write-an-assembly-program-that-will-add-5-to-each-number-in-array-a-and-store-it-in-the-same-pl-pa705

(Solved): Q1: Write an assembly program that will add 5 to each number in array A and store it in the same pl ...




Q1: Write an assembly program that will add 5 to each number in array \( \mathrm{A} \) and store it in the same place.
.MODEL
Q1: Write an assembly program that will add 5 to each number in array and store it in the same place. .MODEL SMALL .DATA A db ,CODE START: MOVAX,@DATA MOV DS,AX MOV CX,10 LEA SI,A L: MOV BL,[SI] ADD BL, 5 MOV [SI],BL INC SI LOOP L END START END


We have an Answer from Expert

View Expert Answer

Expert Answer


SOLUTION:-SOLUTION------>The program uses the x86 assembly language and the NASM assembler.The first line, ".MODEL SMALL", specifies the memory model
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe