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

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

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

Post by answerhappygod »

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 1
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 1 (565.92 KiB) Viewed 35 times
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 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 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 2. What is the physical address of A3 if DS=700H ? a) 7112H b) 7105H c) 7100H d) 7000H e) 7110H f) 710AH g) None of these 3. After MOV [BX], AL is executed in the first loop, find the content of BX. a) 7110H b) 7105H c) 7100H d) 100H e) 110H ) 112H g) None of these 4. Find the content of DI at the end of first loop. a) 11DH b) 10AH c) 113H d) 100H e) 110H f) 101H g) None of these 5. After MOV [BX], AL is executed in the first loop, find the content of [BX]. a) 17 b) 12 c) 29 d) 14 e) 6 f) 16 g) None of these
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply