CPHX opr8a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CPHX opr8a

943 Views
csosza
Contributor I
How works exactly (what compares) "CPHX opr8a"? I read the pdf, but it is not clear for me.
Labels (1)
0 Kudos
1 Reply

280 Views
peg
Senior Contributor IV

Hi csosza,

 

This does a compare between the 16-bit value held in the concatenated H and X registers with a 16-bit value in the direct page (00 to FF) at the address specified by opr8a. The address in RAM is that specified and the next higher address concatenated together. The more significant byte is of course at the lower address.

Hope that helps,

 

0 Kudos