The way I understand it, the processor is subtracting 0A from 1FF on this instruction ... and thats a positive number. Jeremy >My simulation software is setting the N bit on CPY $C026. Y=0x01FF, >$C026=0x000A. Is this correct? The "pink book" seems to say no. > >Shannen