Changing the code to run faster - direct port manipulation HELP!

I agree with @johnwasser, you need to tell us what you are trying to achieve and why the existing speed isn't good enough rather than focusing on how to achieve faster speeds

...R