sam-astro / Astro8-Computer

Custom 16-bit homebrew CPU, emulator, renderer, circuit, and language
MIT License
754 stars 82 forks source link

Bitwise math #12

Closed DumbGameMaker closed 2 years ago

DumbGameMaker commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Bitwise math is like the core of binary

Describe the solution you'd like A clear and concise description of what you want to happen. or xor xnor and nand left-shift right-shift etc

Additional context Add any other context or screenshots about the feature request here.

sam-astro commented 2 years ago

and, or, not, bsl (bit shift left), bsr (bit shift right) implemented in dev

DumbGameMaker commented 2 years ago

XOR and NAND?

sam-astro commented 2 years ago

Those can be created using the other operations; and as of now, all of the possible instructions have been used, so I cannot add any more.