Page 25 of 62
SBasic User's Manual SBasic Version 2.7 Page 25
Printed: December 5, 1999
Examples:
alpha = foo AND $7f ' leaves only low 7 bits of foo
beta = alpha OR 255 ' sets all low 8 bits of alpha
gamma = beta XOR $ffff ' inverts all bits in beta