Re: Noob question: why equ 1<<0 in barebones tutorial
Posted: Fri Oct 21, 2011 1:25 am
There's where my obsessive-compulsive trait kicks in: If I do it for bit 27, I do it for bit 2 in exactly the same way.Casm wrote:I must admit that is what I would do. If it was some obscure bit like 27 there might be some point in doing it the other way, but up to about 0x200 I would just write 0x200.
The alternative being writing the integer number plus comment.