▲ | Arnavion 4 days ago | |
That arithmetic shift right implementation is also what I came up with for a video game fantasy architecture that only has logical shift right. (16-bit registers)
It might be easier to understand broken down this way for anyone who didn't understand the article's one-liner. |