Instruction List
Instructions are 16 bits long, with some instructions requiring an additional 16-bit word for a large displacement. "K6" refers to a 6-bit unsigned constant.
There are two types of conditional branches: jumps to address and skips. Conditional branches (BRxx) can test an ALU flag and jump to specified address. Skips (SBxx) test an arbitrary bit in a register or I/O and skip the next instruction if the test was true.
Arithmetic | Bit & Others | Transfer | Jump | Branch | Call |
---|---|---|---|---|---|
ADD Rd, Rr COM Rd MUL Rd, Rr |
BSET s |
MOV Rd, Rr |
RJMP K12 |
CPSE Rd, Rr |
RCALL K12 |
Read more about this topic: Atmel AVR Instruction Set
Famous quotes containing the words instruction and/or list:
“Casting an eye on the education of children, from whence I can make a judgment of my own, I observe they are instructed in religious matters before they can reason about them, and consequently that all such instruction is nothing else but filling the tender mind of a child with prejudices.”
—George Berkeley (16851753)
“Weigh what loss your honor may sustain
If with too credent ear you list his songs,
Or lose your heart, or your chaste treasure open
To his unmastered importunity.”
—William Shakespeare (15641616)