{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSE360_HW5 - CSE360 |1 Abdulwahab Alkharashi Hany Rashwan...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
C S E 3 6 0 | 1 Abdulwahab Alkharashi & Hany Rashwan Homework #5 5-1: #16- page 158: As the textbook describes bitwise operations partially ORN Rd, Rs1, Rs2 represents Bitwise of a given value Rs1 with the bitwise inverse of the value in Rs2. Not is similar to NEG and MOVE operations, however, it does not map into 3- address instructions used in the load/store architecture. Therefore, the assembler may implement this op using R0 and ORN operations . 5-2: Sub % r11, % r10, % r12 ! Get the number of addition when it is generating set 0x80000000, %r8 sra %r8, %r12, %r8 sub %r11, 31, %r12 neg %r12 ! Convert from minus to positive? Do we need to do this? srl %r9, %r12, %r8 or %r9, %r8, %r9 5-3: #5: The difference between direct-memory addressing and memory indirect addressing is that while memory- indirect addressing has the instruction encoding as the address of the operation’s value, direct-memory will just have the instruction encoding as the operati on’s value, rather than its address.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern