hw-02 - CSE 379 Spring 2009 Homework#2 Due At 8:00 AM...

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

View Full Document Right Arrow Icon
CSE 379 Spring 2009 Homework #2 Due: At 8:00 AM, Wednesday, February 18, 2009 1. Write an ARM assembly language instruction which rotates the data stored in r0 left 19 positions. 2. Given the memory map shown at the right, determine the contents of r1 and r5 after the following ARM assembly language instruction has executed. Indicate all changes to the memory map after the program is complete. Assume that r1 and r5 initially contain 0x00008A09 and 0x0000000A respectively. LDRSB r5, [r1], #5 3. Given the memory map shown at the right, determine the contents of r1, r3, and r4 after the following ARM assembly language instruction has executed. Indicate all changes to the memory map after the instruction is complete. Assume that r1, r3, and r4 initially contain 0x00008A0C, 0xFFFFFFFE, and 0xA9C25541 respectively. STRB r4, [r1,r3] 4. Given the following ARM assembly language code segment, determine the value of the condition codes when the breakpoint set at the branch instruction is encountered.
Image of page 1

Info iconThis 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