assembly to binary method works