Question

EAX 1CB2 H, EBX = 952 D, ECX - 1275 D, EDX -300 D What will be value stored in the four registers after executing the followi

0 0
Add a comment Improve this question Transcribed image text
Answer #1

952 in decimal = 3B8 in hex

-1275 in decimal = FFFFFB05 (1’s are added in the beginning since it is negative value)

-300 in decimal = FFFFFED4 (1’s are added in the beginning since it is negative value)

and CL,AH FLAGS Z, C, S ЕCX FFFFFB05 FFFFFED4 FFFFFB04 FFFFFED4 EAX EBX EDX Before execution ox1CB2 0x3B8 After execution 0x1

ROL CX, 3 FLAGS Z, C, S ЕСX Ox3B8 FFFFFB05 FFFFFED4 EAX EBX EDX Before execution ox1CB2 After execution Ox1CB2 0x3B8 FFFFD82F

Add a comment
Know the answer?
Add Answer to:
EAX 1CB2 H, EBX = 952 D, ECX - 1275 D, EDX -300 D What will...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1) Assume the registers are initialized to the indicated values: Se al A c and code...

    1) Assume the registers are initialized to the indicated values: Se al A c and code frogments MUST use 32 ぁ ar movennes (anor be "nedfra-ne ibrary function or procedural calls ino- Pe Peue c for ll codr ond code frogments only othu ey document your code with Comments unless the code size is Drow Fow Chort for any flow of control involving branches and loops Use PoCedures as modules to organize most of the code and code fragments. In...

  • Need help on Assembly language 1.Solve the following conditions: A. Suppose AL contains 11001011 and CF...

    Need help on Assembly language 1.Solve the following conditions: A. Suppose AL contains 11001011 and CF = 1.    Give the new contents of AL after each of the following instructions is executed.    Assume the above initial conditions for each part of this question. a. SHL AL,1 b. SHR AL,1 c. ROL AL,2 d. ROR AL,3 e. SAR AL,2 f. RCL AL,1 g. RCR AL,3 B. Suppose EAX contain ABCDH.    Show the contents of BX and CX after...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT