Mercurial > hg-old > index.cgi
diff lwasm/lwasm.c @ 239:1106ec189e4f
Acknowledge the source of the crc calc for os9
author | lost |
---|---|
date | Sat, 15 Aug 2009 05:30:25 +0000 |
parents | a9a14e6b4bc8 |
children | 97630727000e |
line wrap: on
line diff
--- a/lwasm/lwasm.c Sat Aug 15 05:26:02 2009 +0000 +++ b/lwasm/lwasm.c Sat Aug 15 05:30:25 2009 +0000 @@ -101,6 +101,8 @@ if (as -> outformat == OUTPUT_OS9 && as -> inmod) { // calc the CRC + // this is a direct transliteration from the nitros9 asm source + // to C; it can, no doubt, be optimized for 32 bit processing b &= 0xff; b ^= (as -> crc)[0];