implemented RAM512, RAM4K, and RAM16K