Forum Discussion
Altera_Forum
Honored Contributor
15 years agoPointer help - alignment issue
I need to use a pointer to a long that is not word aligned (I think). Here is sample code void func(void) { char Test[12] = { 1, 2, 3,4 ,5 ,6, 7, 8, 9, 10, 11, 12}; long * temp; ...
Altera_Forum
Honored Contributor
15 years agoThe device I am working with started with a SCSI interface and was locked into certain data formats. They are a mixture of bytes, shorts, and integers. I can't change the structure with out changing the host interface (which would then not work with old devices).