JMP - Jump
JMP changes the program counter so that the next "line" is not the next one in order. It is similar to GOTO in various BASIC dialects.
|Addressing Mode||Assembly||OpCode||No. Bytes.||No. Cycles|
JMP works much like GOTO in many BASIC languages. If you think about the memory addresses as line numbers, it is easy to understand.
$0800 : INX $0801 : JMP $0800