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:
“And, fathers, do not provoke your children to anger, but bring them up in the discipline and instruction of the Lord.”
—Bible: New Testament, Ephesians 6:4.
“Loves boat has been shattered against the life of everyday. You and I are quits, and its useless to draw up a list of mutual hurts, sorrows, and pains.”
—Vladimir Mayakovsky (18931930)