>>According to Zilog docs, the INI instruction DOES change flags. How >>exactly, I don't know. It's kind a like with the IN F,(C) >>instruction, Zilog says: affects flags (and it does), but doesn't say >>how. I only suggested that maybe you could use this effect. > >IN F,(C) affects the flags like IN A,(C) / OR A would. > >But INI probably affects the flags differently. I expect it influences the >zero flag depending on the B register. IN F,(C) works different as an 'illegal instruction' on the Z80 than on the R800... ~Grauw **** MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/) ****
