2. Evaluate the following instructions with the ”before” values and provide the
ID: 3833706 • Letter: 2
Question
2. Evaluate the following instructions with the ”before” values and provide the requested “after” values: before after shl ax,
1 AX: A8B5h AX, CF, OF
shr ax, 2 AX: A8B5h AX, CF, OF
ror ax, 3 AX: A8B5h AX, CF
shr ax, 4 AX: A8B5h AX, CF
shl bx, 3 BX: BEBAh AX, CF
sar bx, 3 BX: BEBAh AX, CF
If you could do #1 too that would be amazing but not #2 would suffice
un course content-20175 x course content Miscella x D 2350-sp17-syl.pdr x hmk6 pdf x D hmke.pdt x Jones and Bartlett Publis x C file /I/C: Usersjinks/Desktop/hmk6.pdf Apps O Outlook Neh App N Netflix Plackboard C YouTlahe T MyTrch-Raiderink C Tevet Sollutinns Farebook less Settings D Pinterst GTan of Sturture E Dar Struct H Page D WePWork hmk6.pdf CS 2350 Computer Org. and Assembly Language Spring 2017. Homework 6 Due: May 4th, midnight Note 1: Show your wurk All homework MwWiesraded bused your work und nitonuie ased to rauch Note 2: bowmewuwh set motenai tram cnapters and Additional eoerises may be added terial in chapters ravennd 1. The following code implements the module operation w mod 32. The code assumes that Nisan unsigned integer given in ear ebx, 32 al Run an experiment with several values of 5, 12, 38, 40, and 65, and report the values obtained Venfy that the module operati correct and identify the contents ofedt and for each operati Report the codes used in you ement the mod operaltrom altemative approach provide the lines of code needed to impl the following cases: usad 8,x Jo mod and 64. te the foll th the "befor and provide the requested "after 3. The following sequenoe multiplies the value in EAX by 7. 7 valve Show the val EAX by 6, 9, 10, and 18. This code uses the windows32 framework. Modi the code to Check the code in Fig Type here to search 202 PM 5/M/20Explanation / Answer
Shl ax,1 before and instructions After =0x1516A
Shl ax,2 before and instructions After=286B4
Shl ax,4 before and instruction after=A1AD0
Shl bx,3 before and instruction After50D68
Shl bx,3 before and instruction After50D68
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.