Page 1 of 1

10. After the instructions below, find out which flags are set? mov ax,5h mov cx,5 L1: dec al loop L1 a) ZF, CF b) ZF, P

Posted: Fri Jul 01, 2022 5:53 am
by answerhappygod
10 After The Instructions Below Find Out Which Flags Are Set Mov Ax 5h Mov Cx 5 L1 Dec Al Loop L1 A Zf Cf B Zf P 1
10 After The Instructions Below Find Out Which Flags Are Set Mov Ax 5h Mov Cx 5 L1 Dec Al Loop L1 A Zf Cf B Zf P 1 (115.7 KiB) Viewed 43 times
10. After the instructions below, find out which flags are set? mov ax,5h mov cx,5 L1: dec al loop L1 a) ZF, CF b) ZF, PF c) ZF, SF d) ZF, OF e) ZF, AF 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.