I have made my first implementation of the ALU. To implement nx and zx I use the following logic.

http://picasaweb.google.com/lh/photo/RJu6-JebC_knax4fevGcDXgY9S-HRL5P02o9dPqNSlY?feat=directlinkNow to implement this, i have to take the nx or zx bit and Xor or And it with every bit of x. One approach will be to do it individually, a second could be to make another bus which has every bit equal to nx or zx. Is that possible.(Its just a matter of not wanting to write too much code).