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:
“A little instruction in the elements of chartographya little practice in the use of the compass and the spirit level, a topographical map of the town common, an excursion with a road mapwould have given me a fat round earth in place of my paper ghost.”
—Mary Antin (18811949)
“The advice of their elders to young men is very apt to be as unreal as a list of the hundred best books.”
—Oliver Wendell Holmes, Jr. (18411935)