Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitwise | & BSET BGET BCLR ops #126

Closed
wants to merge 4 commits into from
Closed

Bitwise | & BSET BGET BCLR ops #126

wants to merge 4 commits into from

Conversation

@burnsauce
Copy link
Contributor

@burnsauce burnsauce commented Oct 26, 2017

What does this PR do?

Adds the following operators:

  • | bitwise OR
  • & bitwise AND
  • BSET a b - set bit b in value a
  • BGET a b - get bit b from value a
  • BCLR a b - clear bit b in value a

Provide links to any related discussion on lines.

https://llllllll.co/t/teletype-bit-access-operator/9836

How should this be manually tested?

Use the operators.

Any background context you want to provide?

CHAOS includes cellular automata, and bitwise access to these values will permit these to be used for rhythms.

I have,

  • updated CHANGELOG.md
  • updated the documentation
burnsauce added 4 commits Oct 23, 2017
Except in pattern / tracker mode, which would require a refactor.
@burnsauce burnsauce force-pushed the burnsauce:bits branch from bb3d2a5 to b68dd28 Oct 28, 2017
@burnsauce burnsauce closed this Oct 28, 2017
@burnsauce burnsauce deleted the burnsauce:bits branch Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant