07-16-2010, 06:07 PM
britlion Wrote:Okay, XOR is not bitwise, and ALIGN does more or less what I expected (Though I didn't expect a parameter!) I think it's almost always going to be used as ALIGN 256. Just maybe used as ALIGN 16384 for pushing stuff up into the top 16K of memory for 128K programming.BITWISE operator we agreed (if I recall correctly) to be prefixed with "b" son:
There are several clever cases for aligning data - tables for example, often need to be aligned. Sprite rotation tables, critically so.
bXOR, bAND, bOR, bNOT will be such operators, and their respective symbol equivalence ~ (bXor), & [bAnd], | (bOr), ! (bNot). Well, maybe there's a better symbol for not.