I need to convert a little method (5 lines) written in unsafe c# code to assembly language and build a DLL.
The purpose is to optimize the mentioned method, so the assembly code should use proper processor registers to ensure maximum performance.
## Deliverables
Here is the source code:
unsafe void Process(byte* inputbuffer, ushort *outputbuffer, uint buffsize,
uint factor, ushort* logtable, ushort* antilogtable)
{
ushort* end = (ushort*)(inputbuffer + buffsize);
for (ushort* ib = (ushort*)inputbuffer; ib < end; ib++, outputbuffer++)
{
if (*ib != 0)
{
uint sum = factor + logtable[*ib];
*outputbuffer ^= antilogtable[sum];
}
}
}
The DLL must compile with [login to view URL] tool (it comes with VS 2008, don't know other oversions)
A dual 32/64 bit version will be a plus and receive a bonus.
* * *This broadcast message was sent to all bidders on Thursday Sep 25, 2008 9:21:29 PM:
Well, I need to start working on this, I have 3 proposal, all are $20, so price is not an election criteria. This is a pure assembly project, really not related with C#. If you have a final comment or reference about previuos work on machine language, please tell me ASAP.