Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

image text in transcribed

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions