Decoding address and command