gbdev / gbdev/gb-asm-tutorial

Replace `jp` with `jr` where appropriate

Open
#171 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Assembly
Stars
179
Forks
64
Avg merge
7d 22h
Merged PRs (30d)
1

Description

Several places in the tutorial still use `jp` (absolute jump) where `jr` (relative jump) would be more appropriate and cycle-efficient. jr is properly explained and introduced in [Part I - Jumps](https://gbdev.io/gb-asm-tutorial/part1/jumps.html), so from that point onward it should be safe to replace jp with jr wherever the target label is within the 128 bytes range.

Work has already started on this (#146), but some occurrences remain.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.