Page 1 of 1

9. If "MOV CX, 4" is modified as "MOV CX, 2" what will be data2 after Assembly-2 runs completely? a) 012300H b) 67450000

Posted: Fri Jul 01, 2022 5:53 am
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
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 41 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.