load-store-single-register

load-store-single-register - CSE 379 ARM Instruction Set:...

Info iconThis preview shows pages 1–3. 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 ARM Instruction Set: Loading & Storing Load/Store Instruction Types & Single Register Transfer & Multiple Register Transfer & Swap Single Register Transfer Load/Store & LDR Load word into a register Rd mem32[address] & STR Store a word from a register into memory Rd mem32[address] & LDRB Load an unsigned byte into a register Rd mem8[address] & STRB Store a byte from a register into memory Rd mem8[address] & LDRH Load an unsigned halfword into a register Rd mem16[address] & STRH Store a halfword from a register into memory Rd mem16[address] & LDRSB Load a signed byte into a register Rd Sign-Extended(mem8[address]) & LDRSH Load a signed halfword into a register Rd Sign-Extended(mem16[address]) Addressing Modes & An addressing mode describes how the desired location in memory is specified & Effective address The address accessed The addressing mode defines how it is determined & Register Indirect A register contains the address that will be accessed Syntax: [rn] Example LDR r0, [r1] r1 contains the address Word is loaded into r0 r0 mem32[r1] STR r0, [r1] r1 contains the address Word contained in r0 is stored at memory location pointed to by r1...
View Full Document

Page1 / 5

load-store-single-register - CSE 379 ARM Instruction Set:...

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

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