A processor has a “program counter”. This is basically a number that says which instruction is next. The CPU reads and executes the instruction at that location then increases the program counter.
A jump simply changes the program counter to a completely different number.
We also have conditional jumps. We can jump if the result of the previous instruction was zero, or negative.
Latest Answers