kierenj / 0x10c-DevKit

0x10c DevKit
http://0x10c-devkit.com/
39 stars 4 forks source link

Binary operators in expressions #154

Open frxstrem opened 12 years ago

frxstrem commented 12 years ago

I would like to be able to use these operators in expressions: AND (A & B), OR (A | B), XOR (A ^ B), NOT (~A) and bitwise shifts (A << B and A >> B). When used with defined constants, they would make it much easier to use bitmasks etc.

kierenj commented 12 years ago

Good idea, was expecting someone to ask for this sooner. Will implement