21.08.2013 Views

AVR Instruction Set Nomenclature: Status Register (SREG ...

AVR Instruction Set Nomenclature: Status Register (SREG ...

AVR Instruction Set Nomenclature: Status Register (SREG ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JMP - Jump<br />

Description:<br />

Jump to an address within the entire 4M (words) program memory. See also RJMP.<br />

Operation:<br />

(i) PC ← k<br />

Syntax: Operands: Program Counter: Stack:<br />

(i) JMP k 0 ≤ k < 4M PC ← k Unchanged<br />

70<br />

32-bit Opcode:<br />

<strong>Status</strong> <strong>Register</strong> (<strong>SREG</strong>) and Boolean Formula:<br />

Example:<br />

1001 010k kkkk 110k<br />

kkkk kkkk kkkk kkkk<br />

I T H S V N Z C<br />

- - - - - - - -<br />

mov r1,r0 ; Copy r0 to r1<br />

jmp<br />

...<br />

farplc ; Unconditional jump<br />

farplc: nop ; Jump destination (do nothing)<br />

Words: 2 (4 bytes)<br />

Cycles: 3<br />

<strong>Instruction</strong> <strong>Set</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!