If you want to use the 16 input bits (X0 - X17) as a single numeric word then use V40400. Similarly if you want to address the 16 output bits (Y0 - Y17) as a single numeric output then use V40500.
They aren't different locations, just different ways of looking at the same area.