Question: QUESTION 1 Assume that before the instruction is executed, the flags are C F = 0 , Z F = 0 and S F =

QUESTION 1
Assume that before the instruction is executed, the flags are CF=0,ZF=0 and SF=0 and the
Registers have the values AL=035,BL=00FCL=025 and DL=078.
What are the values of the flags after the instruction ADD AL,0x90 executes?
CF=
ZF=
SF=
QUESTION 2
The following instruction is executed. Assume that before execution, register R15 contains 0x62, and the flags are ZF=0,SF=0, and CF=1. Ox indicates hexadecimal; do not include a 0 with your answer.
Instruction: CMP R15,0xD5
After execution, register R15 contains (in Hex) and the flags will be ZF=
SF=, and CF=
QUESTION 3
The following instruction is executed. Assume that before execution, register R12 contains 0x05, and the flags are ZF=1,SF=0, and CF=0. Ox indicates hexadecimal; do not include a 0x with your answer.
Instruction: CMP R12,0xEC
After execution, register R12 contains
(in Hex) and the flags will be ZF=.
SF= and CF=
QUESTION 1 Assume that before the instruction is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!