Added CMP instruction and tests