View the step-by-step solution to:

Problem C ( 40 points ) Given the following initial values for the registers and memory ( values are reset back to the values shown in the table...

1) Given the following initial values for the registers and memory (values are reset back to the values shown in the table before each operation), determine the result of the following operations and state where the result is stored. 

Screen Shot 2019-02-04 at 1.28.53 AM.png

Screen Shot 2019-02-04 at 1.28.53 AM.png

Problem C ( 40 points )
Given the following initial values for the registers and memory ( values are reset back to the values
shown in the table before each operation ) , determine the result of the following operations and state*
where the result is stored . ( 40 points , 2 points for destination , 3 points for result )*
Address
Value
Register
Value
OX 100
OXFF
borax
OX 100
OX 108
OXAB
`orsi
OXABOOT
OX1 10
OX 13
% ordx
OX 50
OX 58
OX 1 1
%orbox
OXADCBOB
Instruction
Destination
Result
addq %ordx , %prax
decq 8 ( %/ordx )
isalq 6 , %orbox
xorg Yourbox , %orsi
movl % eax , %o esi
lead 4 ( %/ prax , %/ orsi , 4 ) , % ordx
negl 8 ( %/ 0 eax )
salw 3, 90 51

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question