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 42 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!