How to make a counter from 0 to 999

This is now TRUE after hearing from you

No, that is incorrect, wooly thinking.
It was true before.
Your hearing about it does not somehow validate the truth.

In this connection

Again, no.
Undocumented opcodes do not follow-on from this.
Zilog did the same with IX and IY register operations on the Z80, and so, I imagine, did just about every other manufacturer.