Support for groups of nibbles, such as 12-bit values #787
MagmarFire
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a developer, I want to be able to create triggers around multi-nibble values like 12-bit alongside 8-bit, 16-bit, 32-bit, etc. so that I can better optimize code length in specific situations.
It is occasionally the case that games will store arrays of structures that are 2^n-bits wide like usual, but the structures themselves may store values that are multiple nibbles wide instead of even bytes--a word that houses both a three-nibble ID and a one-nibble group of status flags, for instance.
While it is possible with the current tools to check both the high nibble value and the low nibble values at the same time to emulate checking just a single value, this increases the amount of code required to do so, and with having to check large arrays, the number of additional checks can be huge.
Beta Was this translation helpful? Give feedback.
All reactions