04-15-2005, 04:23 AM
I'm assuming that shl and shr are twos complement shifters. Does Freebasic also have a ones complement shift-right (>>> in C-based languages)? I can always resort to using ASM...END ASM, but if FB has an operator... hey, nifty.
Also, does Freebasic report overflows on left shifts, or does it gracefully knock off the bits? My knowledge of x86 assembly is limited on these types of siilly nitpick questions.
Actually, my knowledge of x86 assembly is just plain limited, but I'm a quick learner.
Also, does Freebasic report overflows on left shifts, or does it gracefully knock off the bits? My knowledge of x86 assembly is limited on these types of siilly nitpick questions.
Actually, my knowledge of x86 assembly is just plain limited, but I'm a quick learner.