The AMI 6831B is a mask-programmable ROM monolithic integrated circuit.
Pinout is compatible with a 2516 EPROM.