ldrsh load half word sign extend ldrsh r0

Info iconThis preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: from address r1 + 1000 - ldrh: Load half- word unsigned - ldrh r0, [r1, #1000] - Retrieve a half- word(2 Bytes) starting from address r1 + 1000 and use zero extension. - ldrsh: Load half- word sign extend - ldrsh r0, [r1, #1000] - Retrieve a half- word(2 Bytes) starting from address r1 + 1000 and use sign extension. - ldrb: Load byte unsigned - ldrb r0, [r1, #1000] - Retrieve a byte from address r1 + 1000 and use zero extension. - ldrsb: Load byte sign extend - ldrsb r0, [r1, #1000] - Retrieve a byte from address r1 + 1000 and use sign extension. ii). Store - str: Store word - str r0, [r1, #1000] - Store all 4 bytes of r0 to MEM[r1 + 1000]. - strh: Store half- word - strh r0, [r1, #...
View Full Document

This document was uploaded on 02/24/2014 for the course EECS 370 at University of Michigan.

Ask a homework question - tutors are online