93
32000D–04/2011
AVR32
9.
AVR32 RISC Instruction Set
9.1
Instruction Set Nomenclature
9.1.1
Registers and Operands
R{d, s, …}
The uppercase ‘R’ denotes a 32-bit (word) register.
Rd
The lowercase ‘d’ denotes the destination register number.
Rs
The lowercase ‘s’ denotes the source register number.
Rx
The lowercase ‘x’ denotes the first source register number for three reg-
ister operations.
Ry
The lowercase ‘y’ denotes the second source register number for three
register operations.
Rb
The lowercase ‘b’ denotes the base register number for indexed
addressing modes.
Ri
The lowercase ‘i’ denotes the index register number for indexed
addressing modes.
Rp
The lowercase ‘p’ denotes the pointer register number.
PC
Program Counter, equal to R15
LR
Link Register, equal to R14
SP
Stack Pointer, equal to R13
Reglist8
∈ {R0-R3, R4-R7, R8-R9, R10, R11, R12, LR, PC}
Reglist16
∈ {R0, R1, R2, ..., R12, LR, SP, PC}
ReglistCPH8
∈ {CR8, CR9, CR10, ..., CR15}
ReglistCPL8
∈ {CR0, CR1, CR2, ..., CR7}
ReglistCP8
ReglistCPD8
∈ {CR0-CR1,CR2-CR3,CR4-CR5,CR6-CR7,CR8-CR9,
CR10-CR11,CR12-CR13,CR14-CR15}
SysRegName
Name of source or destination system register.
cond3
∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl}
cond4
∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl, ls, gt, le, hi, vs, vc, qs, al}
disp
Displacement
disp:E
Displacement of n bits. If the both compact and extended versions of
the instruction exists,
then use the extended version. The compact version is used by default.
imm
Immediate value
imm:E
Immediate of n bits. If the both compact and extended versions of the
instruction exists,
then use the extended version. The compact version is used by default.
sa
Shift amount
bp
Bit postion
w
Width of a bit field
[i]
Denotes bit i in a immediate value. Example: imm6[4] denotes bit 4 in
an 6-bit immediate value.