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.
-
answerhappygod
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Post
by answerhappygod »

- 9 If Mov Cx 4 Is Modified As Mov Cx 2 What Will Be Data2 After Assembly 2 Runs Completely A 012300h B 67450000 1 (80.32 KiB) Viewed 40 times
9. If "MOV CX, 4" is modified as "MOV CX, 2" what will be data2 after Assembly-2 runs completely? a) 012300H b) 67450000H c) 45670000H d) 23010000H e) 76540000H f)None of these
Assembly-2: .DATA data1 dd 01234567h data2 dd ? .CODE MOV AX,@DATA MOV DS,AX MOV CX, 4 MOV SI, offset data1 MOV DI, offset data2+3 L1: MOV AL,[SI] MOV [DI],AL ADD SI,1 ADD DI,-1 LOOP L1 END the Assembly-2 below.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!