Why don't you talk directly to memory instead of using an INT? It's a LOT faster.

At my site, you will see a bunch of ZIPS, one of them is bound to show you some code on how to talk directly to memory.