Skip to content

Identify bitmasks #479

Description

@Rangi42

Most of the bit/res/set operations now use constants instead of magic numbers, but some related operations remain. Look over the and/or/xor instructions and see which ones can involve constants: https://pastebin.com/rb6eJu7g (this list omits and $0f, and $f0, and xor $ff since nybbles and negation are understood).

Activity

  1. Rangi42 commented on Dec 17, 2024

    @Rangi42
    MemberAuthor

    git grep -nP '^\t(and|or|xor) [0-9$%]' gives the lines to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions