Consider the following x86 - assembly language instructions: MOV AL, 153 NEG…
2018
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 = 01100110; CF = 0; SF = 0
- B.
AL = 01100111; CF = 0; SF = 1
- C.
AL = 01100110; CF = 1; SF = 1
- D.
AL = 01100111; CF = 1; SF = 0
Attempted by 39 students.
Show answer & explanation
Correct answer: D

A video solution is available for this question — log in and enroll to watch it.