Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

TRUE/FALSE 13. What will be the hexadecimal value of AL after these instructions

ID: 3543195 • Letter: T

Question

TRUE/FALSE


13. What will be the hexadecimal value of AL after these instructions execute?

mov al,86h

or  al,42h


14.  What will be the hexadecimal value of AL after these instructions execute?

mov al,94h

xor al,37h


15. What will be the hexadecimal value of AL after these instructions execute?

mov al,0CFh

and al,2Bh



17.  (Has more than one answer) Which choice(s) contain correct implementations of the following pseudocode? Assume that all values are unsigned. (5 points)

if( eax > ebx )

     mov dl,5;

else

     mov dl,6;

a.

     cmp eax,ebx

     ja L1

     mov dl,6

     jmp L2

L1:  mov dl,5

L2:

b.

     cmp eax,ebx

     ja L1

     mov dl,5

     jmp L2

L1:  mov dl,6

L2:

c.

     cmp eax,ebx

     jbe L2

     mov dl,5

     jmp L2

L1:  mov dl,6

L2:

d.

     cmp eax,ebx

     jna L1

     mov dl,5

     jmp L2

L1:  mov dl,6

L2:

Explanation / Answer

17. c and d