Question: (d) and (h) only MUST INCLUDE: repeat the instruction by hand using binary arithmetic and identify which bits in arithmetic correspond to, or determine, the

(d) and (h) only MUST INCLUDE: repeat the instruction by hand using binary arithmetic and identify which bits in arithmetic correspond to, or determine, the values of the four flags
please explain all work
(g) neg rdx 3. For each part of this problem, assume the "before" values when the given instruction is executed. Give the requested "after" values Instruction After Before "(a) EBX: FF FF FF 75 EBX, ECX, SF, ZF, CF, OF ECX: 0000 01 A2 b) EBX: FF FF FF 75 add ebx, ecx EBX, ECX, SF, ZF, CF, OF ECX: 000001 A2 (c) BX: FF 79 sub ebx, ecx BX, CX, SF, ZF, CF, OF DX, SF, ZF, CF, OF EAX, SF, ZF, CF, OF word at wordOp, AX SF, ZF, CF, OF word at wordOp, AX, SF, ZF, CF, OF CX, SF, ZF CX: 01 A2 (d) DX: 01 4B (el EAX: 00 00 00 64 (1 AX: OA 20 sub cx,bx add dx, 40h sub eax, 100 word at word0p: FF 20 add ax, wordop (g) AX: 0A 20 word at wordOp: FF 20 sub wordop , ax inc cx (h) CX: 03 1A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
