1. What is the purpose of Assembly-1: ( a) Shifting Up for A1,A2 and A3 arrays b) Shifting Down for A1,A2 and A3 arrays

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. What is the purpose of Assembly-1: ( a) Shifting Up for A1,A2 and A3 arrays b) Shifting Down for A1,A2 and A3 arrays

Post by answerhappygod »

1 What Is The Purpose Of Assembly 1 A Shifting Up For A1 A2 And A3 Arrays B Shifting Down For A1 A2 And A3 Arrays 1
1 What Is The Purpose Of Assembly 1 A Shifting Up For A1 A2 And A3 Arrays B Shifting Down For A1 A2 And A3 Arrays 1 (100.05 KiB) Viewed 45 times
1. What is the purpose of Assembly-1: ( a) Shifting Up for A1,A2 and A3 arrays b) Shifting Down for A1,A2 and A3 arrays c) Performs ADD operation such that A1+A2=A3 (HB d) Moving A1 and A2 arrays to A3 locations e) Moving all arrays into BX f) Moving A1 into Sl g) Moving A2 into DI h) None of these
Assembly-1: ORG 100H A1 DB 12,4,7,3,8,6,22,13,10 A2 DB 17,5,14,1,0,9,16,15,4 SUM DB 9 DUP(0) MOV AX, OFFSET A1 MOV SI,AX MOV AX, OFFSET A2 MOV DI, AX MOV CX,9 MOV BX,OFFSET A1+18 L1: MOV AL,[SI] ADD AL,[DI] MOV [BX],AL INC BX INC SI INC DI LOOP L1 END
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply