DSPRelated.com
Forums

file read/write problem

Started by kkunal_l December 9, 2004


Hello all
I am running my program on CCS 55x simulator. I need to read input
test vectors from a file and write the results to another output
file. The input file has data (written in short data type) written to
by a C program developed in Microsoft Visual C. It seems to me that
the 16 bit data is truncated into 8 bit data (lower byte) and then
stored in the buffer of the C program in CCS.
I do not wish to spend additional time on writing a logic to
converting two 8 bit data to 16-bit data. Can anybody suggest me a
way around ?

Regards
Kunal