Thread View: comp.sys.transputer
1 messages
1 total messages
Started by Ch. Baeumer
Fri, 07 Aug 1992 12:36
Inmos Transputers. Need Help
Author: Ch. Baeumer
Date: Fri, 07 Aug 1992 12:36
Date: Fri, 07 Aug 1992 12:36
30 lines
1115 bytes
1115 bytes
Hi outside there,
I need a little help. Perhaps somebody can help me with my problem.
I'm programming a tranport-protocol on a T805 and want to use the
asm directive 'CRCWORD' for error recovery.
The problem is, that I don't know how it works and what kind
of parameters this directive want in the registers or on the stack.
I included following lines in my c-source-code :
ptr = (unsigned int *)&header;
for(i=0;i<sizeof(Header);i++)
sum += ptr[i];
__asm {
ld sum; # the sum where the crc should be calculated
crcword;
st sum; # this should be the crc
}
BUT: it seems. that nothing happens. The Value before 'CRCWORD'
is the same as behind.
Does somebody know how it works?
Regards
Ch. Baeumer
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads