added bitmasking to One and two op funtions

Right now its just bitmasking D7 with the appropriate bit masking and
storing them in the D regs.  Can add functionality to apply values to
variables if needed