As written in the title, I need to convert an (char) array containing 8 bytes(which represent a 64bit int) to a string. I'm using c code on a NEC78K0R (16 bit mcu). I'm using the IAR Embedded workbench IDE.
My thought was to OR them together in a 64 bit int type (like f.x long long or int64_t (from stdint.h)), and then use something like sprintf to convert it to a string.
However the compiler will start spitting out errors like "the type 'long long' does not exist'. whenever I use any of the standard 64bit integer type.
Any help will be much appreciated.