For writing you have to have the input as 0 and for reading it is 1. These instructions are supposed to be fed into the w/R inputs and the other inputs are for the data of if it being a 1 or a 0