资源描述:
《crc校验程序源代码》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、程序源代码dispmacromleadx,mmovah,9int21hODHendm:显示字符的宏定义stack1segmentparastack‘stack’db200dup(0)stack1endsdata1segmentstr0DBOAH,ODH,‘*********************************************************************************S’str1DB0AH,0DH’**S’str2DB0AH,0DH,’*NNNNNNNNNsNNNNNN
2、NNNNNNNNNNNNNN*$’str3DB0AH,0DH,’*DNBNN=-zNNN-(NNNNKsNNNNz-*$’str4DB0AH,0DH,’*=NNNB~sNNN~zNNN=~NNNN+*S’str5DB0AH,0DH,’*BNNN3、r9DB0AH,0DH,’*zNBN4、NNNNNNNNsNNN~BNBNKNNNNNNNNNN*S’Str16DB0AH,0DH’**S’Str17DB0AH,0DH,’*********************************************************************************S’Str18DB0AH,0DH,’**S’Str19DB0AH,0DH,’*Pressstostarttheprogramme*S’Str20DB0AH,0DH,’*Pressqtoquittheprogramme*S’Str
5、21DB0AH,0DH,’*Pressctocleartheprogramme*S’Str22DB0AH,0DH,’*CyclicRedundancyCheckProgrammeBULIDBYtl*S’Str23DB0AH,0DH,’*********************************************************************************S’:LOGO及提示Str_enterdb0ah,0dh,’$’Crc16tablelabelword:00hdw00000h
6、,0C0C1h,0C181h,00140h,0C301h,003C0h,00280h,0C241hdw0C601h,006C0h,00780h,0C741h,00500h,0C5C1h,0C481h,00440hdw0CC01h,00CC0h,00D80h,0CD41h,00F00h,0CFC1h,0CE81h,00E40hdw00A00h,0CAC1h,0CB81h,00B40h,0C901h,009C0h,00880h,0C841h:20hdw0D801B,018C0H,01980H,0D941H,01B00H,
7、0DBC1H,0DA81H,01A40Hdw01E00H,0DEC1H,0DF81H,01F40H,0DD01H,01DC0H,01C80H,0DC41Hdw01400H,0D4C1H,0D581H,01540H,0D701H,017C0H,01680H,0D641Hdw0D201H,012C0H,01380H,0D341H,01100H,0D1C1H,0D081H,01040H:40hdw0F001H,030C0H,03180H,0F141H,03300H,0F3C1H,0F281H,03240Hdw03600H,
8、0F6C1H,0F781H,03740H,0F501H,035C0H,03480H,0F441Hdw03C00H,0FCC1H,0FD81H,03D40H,0FF01H,03FC0H,03E80H,0FE41Hdw0FA01H,03AC0H,03B80H,0FB41H,03900H,0F9C1H,0F881H,03840H:60hdw02800