Skip to content

Use jr in Unbricked and Galactic Armada when appropriate #146

@quinnyo

Description

@quinnyo

The issue is that jr is used (mostly out of habit, by me) to jump to labelled functions.
This places constraints on the (ROM) layout of the code, but the lesson doesn't attempt to instruct the reader to take care with that, or present the functions in an order that will be sure to result in a valid layout -- and I don't think it should.

The simple solution is to replace jr with jp, wherever the destination is one of the labelled functions. There is a couple of anonymous destinations (i.e. jr .., :+) which won't cause any problems remaining as jr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions