mirror of
https://github.com/lampmerchant/tashtwenty.git
synced 2024-11-22 05:33:14 +00:00
258 lines
3.3 KiB
PHP
258 lines
3.3 KiB
PHP
;LUT for low byte of CCITT CRC16
|
|
retlw 0x00
|
|
retlw 0x21
|
|
retlw 0x42
|
|
retlw 0x63
|
|
retlw 0x84
|
|
retlw 0xA5
|
|
retlw 0xC6
|
|
retlw 0xE7
|
|
retlw 0x08
|
|
retlw 0x29
|
|
retlw 0x4A
|
|
retlw 0x6B
|
|
retlw 0x8C
|
|
retlw 0xAD
|
|
retlw 0xCE
|
|
retlw 0xEF
|
|
retlw 0x31
|
|
retlw 0x10
|
|
retlw 0x73
|
|
retlw 0x52
|
|
retlw 0xB5
|
|
retlw 0x94
|
|
retlw 0xF7
|
|
retlw 0xD6
|
|
retlw 0x39
|
|
retlw 0x18
|
|
retlw 0x7B
|
|
retlw 0x5A
|
|
retlw 0xBD
|
|
retlw 0x9C
|
|
retlw 0xFF
|
|
retlw 0xDE
|
|
retlw 0x62
|
|
retlw 0x43
|
|
retlw 0x20
|
|
retlw 0x01
|
|
retlw 0xE6
|
|
retlw 0xC7
|
|
retlw 0xA4
|
|
retlw 0x85
|
|
retlw 0x6A
|
|
retlw 0x4B
|
|
retlw 0x28
|
|
retlw 0x09
|
|
retlw 0xEE
|
|
retlw 0xCF
|
|
retlw 0xAC
|
|
retlw 0x8D
|
|
retlw 0x53
|
|
retlw 0x72
|
|
retlw 0x11
|
|
retlw 0x30
|
|
retlw 0xD7
|
|
retlw 0xF6
|
|
retlw 0x95
|
|
retlw 0xB4
|
|
retlw 0x5B
|
|
retlw 0x7A
|
|
retlw 0x19
|
|
retlw 0x38
|
|
retlw 0xDF
|
|
retlw 0xFE
|
|
retlw 0x9D
|
|
retlw 0xBC
|
|
retlw 0xC4
|
|
retlw 0xE5
|
|
retlw 0x86
|
|
retlw 0xA7
|
|
retlw 0x40
|
|
retlw 0x61
|
|
retlw 0x02
|
|
retlw 0x23
|
|
retlw 0xCC
|
|
retlw 0xED
|
|
retlw 0x8E
|
|
retlw 0xAF
|
|
retlw 0x48
|
|
retlw 0x69
|
|
retlw 0x0A
|
|
retlw 0x2B
|
|
retlw 0xF5
|
|
retlw 0xD4
|
|
retlw 0xB7
|
|
retlw 0x96
|
|
retlw 0x71
|
|
retlw 0x50
|
|
retlw 0x33
|
|
retlw 0x12
|
|
retlw 0xFD
|
|
retlw 0xDC
|
|
retlw 0xBF
|
|
retlw 0x9E
|
|
retlw 0x79
|
|
retlw 0x58
|
|
retlw 0x3B
|
|
retlw 0x1A
|
|
retlw 0xA6
|
|
retlw 0x87
|
|
retlw 0xE4
|
|
retlw 0xC5
|
|
retlw 0x22
|
|
retlw 0x03
|
|
retlw 0x60
|
|
retlw 0x41
|
|
retlw 0xAE
|
|
retlw 0x8F
|
|
retlw 0xEC
|
|
retlw 0xCD
|
|
retlw 0x2A
|
|
retlw 0x0B
|
|
retlw 0x68
|
|
retlw 0x49
|
|
retlw 0x97
|
|
retlw 0xB6
|
|
retlw 0xD5
|
|
retlw 0xF4
|
|
retlw 0x13
|
|
retlw 0x32
|
|
retlw 0x51
|
|
retlw 0x70
|
|
retlw 0x9F
|
|
retlw 0xBE
|
|
retlw 0xDD
|
|
retlw 0xFC
|
|
retlw 0x1B
|
|
retlw 0x3A
|
|
retlw 0x59
|
|
retlw 0x78
|
|
retlw 0x88
|
|
retlw 0xA9
|
|
retlw 0xCA
|
|
retlw 0xEB
|
|
retlw 0x0C
|
|
retlw 0x2D
|
|
retlw 0x4E
|
|
retlw 0x6F
|
|
retlw 0x80
|
|
retlw 0xA1
|
|
retlw 0xC2
|
|
retlw 0xE3
|
|
retlw 0x04
|
|
retlw 0x25
|
|
retlw 0x46
|
|
retlw 0x67
|
|
retlw 0xB9
|
|
retlw 0x98
|
|
retlw 0xFB
|
|
retlw 0xDA
|
|
retlw 0x3D
|
|
retlw 0x1C
|
|
retlw 0x7F
|
|
retlw 0x5E
|
|
retlw 0xB1
|
|
retlw 0x90
|
|
retlw 0xF3
|
|
retlw 0xD2
|
|
retlw 0x35
|
|
retlw 0x14
|
|
retlw 0x77
|
|
retlw 0x56
|
|
retlw 0xEA
|
|
retlw 0xCB
|
|
retlw 0xA8
|
|
retlw 0x89
|
|
retlw 0x6E
|
|
retlw 0x4F
|
|
retlw 0x2C
|
|
retlw 0x0D
|
|
retlw 0xE2
|
|
retlw 0xC3
|
|
retlw 0xA0
|
|
retlw 0x81
|
|
retlw 0x66
|
|
retlw 0x47
|
|
retlw 0x24
|
|
retlw 0x05
|
|
retlw 0xDB
|
|
retlw 0xFA
|
|
retlw 0x99
|
|
retlw 0xB8
|
|
retlw 0x5F
|
|
retlw 0x7E
|
|
retlw 0x1D
|
|
retlw 0x3C
|
|
retlw 0xD3
|
|
retlw 0xF2
|
|
retlw 0x91
|
|
retlw 0xB0
|
|
retlw 0x57
|
|
retlw 0x76
|
|
retlw 0x15
|
|
retlw 0x34
|
|
retlw 0x4C
|
|
retlw 0x6D
|
|
retlw 0x0E
|
|
retlw 0x2F
|
|
retlw 0xC8
|
|
retlw 0xE9
|
|
retlw 0x8A
|
|
retlw 0xAB
|
|
retlw 0x44
|
|
retlw 0x65
|
|
retlw 0x06
|
|
retlw 0x27
|
|
retlw 0xC0
|
|
retlw 0xE1
|
|
retlw 0x82
|
|
retlw 0xA3
|
|
retlw 0x7D
|
|
retlw 0x5C
|
|
retlw 0x3F
|
|
retlw 0x1E
|
|
retlw 0xF9
|
|
retlw 0xD8
|
|
retlw 0xBB
|
|
retlw 0x9A
|
|
retlw 0x75
|
|
retlw 0x54
|
|
retlw 0x37
|
|
retlw 0x16
|
|
retlw 0xF1
|
|
retlw 0xD0
|
|
retlw 0xB3
|
|
retlw 0x92
|
|
retlw 0x2E
|
|
retlw 0x0F
|
|
retlw 0x6C
|
|
retlw 0x4D
|
|
retlw 0xAA
|
|
retlw 0x8B
|
|
retlw 0xE8
|
|
retlw 0xC9
|
|
retlw 0x26
|
|
retlw 0x07
|
|
retlw 0x64
|
|
retlw 0x45
|
|
retlw 0xA2
|
|
retlw 0x83
|
|
retlw 0xE0
|
|
retlw 0xC1
|
|
retlw 0x1F
|
|
retlw 0x3E
|
|
retlw 0x5D
|
|
retlw 0x7C
|
|
retlw 0x9B
|
|
retlw 0xBA
|
|
retlw 0xD9
|
|
retlw 0xF8
|
|
retlw 0x17
|
|
retlw 0x36
|
|
retlw 0x55
|
|
retlw 0x74
|
|
retlw 0x93
|
|
retlw 0xB2
|
|
retlw 0xD1
|
|
retlw 0xF0
|