Look like very simple i,e 1100110 entering X0, X1, X2, X3, X4, X5, X6, X7. All i need is to send these values from inputs and store it in D0, D1, D2, D3, D4, D5, D6, D7. I don't know where i am going wrong. Seems like a simple MOV function will work but it isn't. I will be thankful if someone plz send me a sample programme just storing the X0 value(1) into (D0). That will solve my problem, I don't know where i am going wrong