Develop encoding / decoding functions in assembly, write C program to encode a file, use decoding function to check the encoding functionality. Compare the time taken to encode/decode a large file in C and Assembly language.