CPX - Compare Index Register with Memory ;flags(N,Z,C)

CPX #opr ;X - opr ;(IMM) 8 bit immediate

CPX opr ;X - (opr) ;(DIR) 8 bit direct

CPX opr ;X - (opr) ;(EXT) 16 bit extended

CPX ,X ;X - (X) ;(IX) indexed no offset

CPX opr,X ;X - (opr+X) ;(IX1) indexed w/8 bit offset

CPX opr,X ;X - (opr+X) ;(IX2) indexed w/16 bit offset

The contents of both ACCA and M(opr) are unchanged.