ASM - add tolong and fromlong funtions. MRJP - add few tests.