Transfer data into the CPU, increment it, transfer it back out.
If you want a better answer, you might try a more specific question.
__________________
A great troubleshooting tip...."When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sir Arthur Conan Doyle