Partial implementation of CDP instruction