for the multi-threading part this article may help: http://www.asmcommunity.net/book/tut...g-programming/ its a 32 bit example, but with a lttle research shouldnt be too hard to adapt