Added some comments.
Changed red-green/blue-green to red+green/blue+green.

Changed assembly code in m0 to add, rather than subtract, color values
so that luminance information is retained.