Skip to content

General, well-known, optimizations should appear earlier in the book #1

@theNestruo

Description

@theNestruo

Chapter 3 (https://github.com/oisee/antique-toy/blob/main/chapters/ch03-demoscene-toolbox/draft.md) does not include some well-known optimizations such as XOR A instead of LD A, 0, or OR A instead of CP 0.

These optimizations are of general use, but they do appear very late in the book (chapter 13), and in a very specific context (Key Techniques at 256 Bytes, https://github.com/oisee/antique-toy/blob/main/chapters/ch13-sizecoding/draft.md#key-techniques-at-256-bytes).

It woule make more sense to have them in the chapter 3, in a Well-known optimizations section, probably before the Bit Tricks: SBC A,A and Friends section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions