Syntax: |
Operation: |
Operands: |
Program Counter: |
Opcode |
Comment |
Stack |
MOV Rd,Rr |
Rd = Rr |
0 <= d <= 31, 0 <= r <= 31 |
PC = PC + 1 |
001011rdddddrrrr |
This instruction makes a copy of one register into another. The source register Rr is left unchanged, while the destination register Rd is loaded with a copy of Rr.
I |
– |
||
T |
– |
||
H |
– |
||
S |
– |
||
V |
– |
||
N |
– |
||
Z |
– |
||
C |
– |
mov r16,r0 ; Copy r0 to r16 call check ; Call subroutine ... check: cpi r16,0x11 ; Compare r16 to 0x11 ... ret ; Return from subroutine
1 (2 bytes)
Name |
Cycles |
AVRe |
1 |
AVRxm |
1 |
AVRxt |
1 |
AVRrc |
1 |