2 ms·
The two-byte skip was typically used to skip over a jump instruction, giving you a conditional branch. But in many cases, two instructions were enough to implem
by kens 6y ago
The two-byte skip was typically used to skip over a jump instruction, giving you a conditional branch. But in many cases, two instructions were enough to implement the conditional case.
The two-instruction skip could also be used in tricky ways to implement two entry points to a function. E.g.
Entry 1: Set Accumulator bit 1
If accumulator bit 1 set, skip two instructions
Entry 2: Set something different for entry 2
More setup for entry 2
Code continues for both entry 1 and entry 2