highly system-depend functions, mostly assembly
