4-8 Assume that the registers are initialized to EAX = 12345D, EBX = 9528D ECX =
ID: 3683598 • Letter: 4
Question
4-8 Assume that the registers are initialized to
EAX = 12345D, EBX = 9528D
ECX = -1275D, EDX = -3001D
What is the destination operand value (in hex) after executing the following instructions:
(Note: Assume that the four registers are initialized as shown above for each question.)
(a) add EAX, EBX (b) sub AX, CX
5571H FFCCH
(c) and EAX, EDX (d) or BX, AX
(e) not EDX (f) shl BX, 2
(g) shl EAX, CL (h) shr BX, 2
(i) shr EAX, CL (j) sub CX, BX
(k) add ECX, EDX (l) sub DX, CX
Explanation / Answer
here EDX is 00000000001100000000000100001101
EAX is 000100100011010001011101
ECX is 000000010010011101011101
EBX is 10010101001010001101
CL is 5D
a) EAX has 9528D
b) AX has D00
c) EAX has FFFCFF3
d) BX has 76DD
e) FFCFFEF2
using above values we can find all values
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.