SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 99

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
11.12 Memory access instructions
11.12.1
11.12.1.1
11.12.1.2
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
ADR
Syntax
Operation
Table 11-17
Table 11-17. Memory access instructions
Load PC-relative address.
where:
cond
Rd
label
ADR determines the address by adding an immediate value to the PC, and writes the result to
the destination register.
ADR produces position-independent code, because the address is PC-relative.
If you use ADR to generate a target address for a BX or BLX instruction, you must ensure that
bit[0] of the address you generate is set to1 for correct execution.
Mnemonic
ADR
CLREX
LDM{mode}
LDR{type}
LDR{type}
LDR{type}T
LDR
LDREX{type}
POP
PUSH
STM{mode}
STR{type}
STR{type}
STR{type}T
STREX{type}
ADR{cond} Rd, label
shows the memory access instructions:
is an optional condition code, see
is the destination register.
is a PC-relative expression. See
Brief description
Load PC-relative address
Clear Exclusive
Load Multiple registers
Load Register using immediate
offset
Load Register using register offset
Load Register with unprivileged
access
Load Register using PC-relative
address
Load Register Exclusive
Pop registers from stack
Push registers onto stack
Store Multiple registers
Store Register using immediate
offset
Store Register using register offset
Store Register with unprivileged
access
Store Register Exclusive
“PC-relative expressions” on page
“Conditional execution” on page
See
“ADR” on page 99
“CLREX” on page 110
“LDM and STM” on page 106
“LDR and STR, immediate offset” on
page 100
“LDR and STR, register offset” on page
102
“LDR and STR, unprivileged” on page
103
“LDR, PC-relative” on page 104
“LDREX and STREX” on page 108
“PUSH and POP” on page 107
“PUSH and POP” on page 107
“LDM and STM” on page 106
“LDR and STR, immediate offset” on
page 100
“LDR and STR, register offset” on page
102
“LDR and STR, unprivileged” on page
103
“LDREX and STREX” on page 108
SAM3X/A
SAM3X/A
96.
95.
99
99

Related parts for SAM3X8E