Fixing

fixed assemble func to work with 64bit assembly, also fixed a logic err in the nasm stuff