target: unify memory read/write commands