implement 16K-Register Memory