UGC-NET | UGC NET CS 2018 Dec – II | Question 71

Consider the following x86 – assembly language instructions :

MOV AL, 153
NEG AL 

The contents of the destination register AL (in 8-bit binary notation), the status of Carry Flag(CF) and Sign Flag(SF) after the execution of above instructions, are
(A) AL = 0110 0110; CF = 0; SF =0
(B) AL = 0110 0111; CF = 0; SF =1
(C) AL = 0110 0110; CF = 1; SF =1
(D) AL = 0110 0111; CF = 1; SF =0


Answer: (A)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.