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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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.the condition codes when the breakpoint set at the branch instruction is encountered....
View Full Document

This document was uploaded on 11/03/2011 for the course CSE 380 at SUNY Buffalo.

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online