Long Jumps
Notes
- Conditional jumps are relative to the PC
- They can be within 128 bytes of the current instruction.
- This is done to make the jump instructions take up less space, be faster
- But it causes a problem for extreemly large loops.
- Don't write extremely large loop.
- But if you must
- The jmp instruction is unlimited.
- So just call that as the body of the instruction.
- You will probably need to jump back too.