]> git.sesse.net Git - hamming/commitdiff
Try to sort out the last parity bit in the text.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Mar 2006 13:15:46 +0000 (13:15 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Mar 2006 13:15:46 +0000 (13:15 +0000)
hamming.txt

index 1bd50d425e9635940c3d17f384cec2f7110c19f0..a3747e33cec09fca6a158f54a503460e8e485457 100644 (file)
@@ -46,6 +46,10 @@ p3    xx  xx xx          xx xx xx  xx          xx xx xx xx              xx xx xx
 p4              xx xx xx xx xx xx  xx                       xx xx xx xx xx xx xx xx
 p5                                    xx xx xx xx xx xx xx  xx xx xx xx xx xx xx xx
 
+Last bit is the parity of all the data bits _and_ the parity bits, which means it gets
+counted as follows (?):
+
+p6 xx xx  xx    xx xx    xx        xx xx xx    xx       xx  xx             xx xx
 
 Converted to bitmasks:
 
@@ -54,3 +58,4 @@ p2: 02 d9 b3 33
 p3: 01 c7 8f 0f
 p4: 00 3f 80 ff
 p5: 00 00 7f ff
+p6: 03 b4 e9 86